mirror of
https://github.com/hashicorp/packer.git
synced 2026-04-29 18:20:05 -04:00
11 lines
339 B
Go
11 lines
339 B
Go
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License. See the LICENSE file in builder/azure for license information.
|
|
|
|
package common
|
|
|
|
import "github.com/mitchellh/multistep"
|
|
|
|
func IsStateCancelled(stateBag multistep.StateBag) bool {
|
|
_, ok := stateBag.GetOk(multistep.StateCancelled)
|
|
return ok
|
|
}
|