From 0fad49e897ea9446cacffb0d2c80a27ec8acd495 Mon Sep 17 00:00:00 2001 From: Matthew Hooker Date: Thu, 25 Jan 2018 15:05:36 -0800 Subject: [PATCH] simplify --- builder/oracle/classic/step_create_instance.go | 1 - builder/oracle/classic/step_security.go | 2 -- 2 files changed, 3 deletions(-) diff --git a/builder/oracle/classic/step_create_instance.go b/builder/oracle/classic/step_create_instance.go index 9438431bb..2f8493fd1 100644 --- a/builder/oracle/classic/step_create_instance.go +++ b/builder/oracle/classic/step_create_instance.go @@ -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 } diff --git a/builder/oracle/classic/step_security.go b/builder/oracle/classic/step_security.go index 1e00b2c7b..8b1c48a4c 100644 --- a/builder/oracle/classic/step_security.go +++ b/builder/oracle/classic/step_security.go @@ -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 }