packer-cn/builder/azure/common/state_bag.go

9 lines
193 B
Go

package common
import "github.com/hashicorp/packer/helper/multistep"
func IsStateCancelled(stateBag multistep.StateBag) bool {
_, ok := stateBag.GetOk(multistep.StateCancelled)
return ok
}