simplify
This commit is contained in:
parent
7f21ca546d
commit
0fad49e897
|
@ -78,5 +78,4 @@ func (s *stepCreateInstance) Cleanup(state multistep.StateBag) {
|
|||
}
|
||||
// TODO wait for instance state to change to deleted?
|
||||
ui.Say("Terminated instance.")
|
||||
return
|
||||
}
|
||||
|
|
|
@ -92,6 +92,4 @@ func (s *stepSecurity) Cleanup(state multistep.StateBag) {
|
|||
ui.Say(fmt.Sprintf("Error deleting the packer-generated security list %s; "+
|
||||
"please delete manually. (error : %s)", secListName, err.Error()))
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue