diff --git a/builder/oracle/classic/step_create_persistent_volume.go b/builder/oracle/classic/step_create_persistent_volume.go index 497253544..a9f27c613 100644 --- a/builder/oracle/classic/step_create_persistent_volume.go +++ b/builder/oracle/classic/step_create_persistent_volume.go @@ -47,12 +47,6 @@ func (s *stepCreatePersistentVolume) Run(_ context.Context, state multistep.Stat } func (s *stepCreatePersistentVolume) Cleanup(state multistep.StateBag) { - _, cancelled := state.GetOk(multistep.StateCancelled) - _, halted := state.GetOk(multistep.StateHalted) - if !cancelled && !halted { - return - } - client := state.Get("client").(*compute.Client) ui := state.Get("ui").(packer.Ui)