mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-23 16:31:48 -04:00
simplify
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user