github.com/mmcquillan/packer@v1.1.1-0.20171009221028-c85cf0483a5d/builder/azure/common/state_bag.go (about)

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