Fix invalid cast.
Signed-off-by: Rob Dobson <rob.dobson@citrix.com>
This commit is contained in:
parent
f282a95bf8
commit
4d961011fa
@ -34,7 +34,7 @@ func (stepPrepareOutputDir) Cleanup(state multistep.StateBag) {
|
||||
_, halted := state.GetOk(multistep.StateHalted)
|
||||
|
||||
if cancelled || halted {
|
||||
config := state.Get("config").(*config)
|
||||
config := state.Get("config").(config)
|
||||
ui := state.Get("ui").(packer.Ui)
|
||||
|
||||
ui.Say("Deleting output directory...")
|
||||
|
Loading…
Reference in New Issue
Block a user