2016-04-21 16:50:03 -07:00
|
|
|
package common
|
|
|
|
|
|
2018-01-19 16:18:44 -08:00
|
|
|
import "github.com/hashicorp/packer/helper/multistep"
|
2016-04-21 16:50:03 -07:00
|
|
|
|
|
|
|
|
func IsStateCancelled(stateBag multistep.StateBag) bool {
|
|
|
|
|
_, ok := stateBag.GetOk(multistep.StateCancelled)
|
|
|
|
|
return ok
|
|
|
|
|
}
|