github.com/mitchellh/packer@v1.3.2/builder/azure/common/state_bag.go (about)

     1  package common
     2  
     3  import "github.com/hashicorp/packer/helper/multistep"
     4  
     5  func IsStateCancelled(stateBag multistep.StateBag) bool {
     6  	_, ok := stateBag.GetOk(multistep.StateCancelled)
     7  	return ok
     8  }