You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
packer/builder/ncloud/step.go

17 lines
310 B

package ncloud
import (
"github.com/hashicorp/packer/helper/multistep"
)
func processStepResult(err error, sayError func(error), state multistep.StateBag) multistep.StepAction {
if err != nil {
state.Put("Error", err)
sayError(err)
return multistep.ActionHalt
}
return multistep.ActionContinue
}