github.com/raghuse92/packer@v1.3.2/builder/ncloud/step.go (about) 1 package ncloud 2 3 import ( 4 "github.com/hashicorp/packer/helper/multistep" 5 ) 6 7 func processStepResult(err error, sayError func(error), state multistep.StateBag) multistep.StepAction { 8 if err != nil { 9 state.Put("Error", err) 10 sayError(err) 11 12 return multistep.ActionHalt 13 } 14 15 return multistep.ActionContinue 16 }