From 76ea73c5b208fd37d809782d5c12b5f44abb793d Mon Sep 17 00:00:00 2001 From: Matthew Hooker Date: Tue, 23 Jan 2018 18:14:10 -0800 Subject: [PATCH] I don't think we need to delete this artifact right now --- builder/oracle/classic/artifact.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/builder/oracle/classic/artifact.go b/builder/oracle/classic/artifact.go index bf1fed0ba..fb7861b04 100644 --- a/builder/oracle/classic/artifact.go +++ b/builder/oracle/classic/artifact.go @@ -42,11 +42,5 @@ func (a *Artifact) State(name string) interface{} { // Destroy deletes the custom image associated with the artifact. func (a *Artifact) Destroy() error { - client := a.driver.Snapshots() - mic := a.driver.MachineImages() - input := &compute.DeleteSnapshotInput{ - Snapshot: a.Snapshot.Name, - MachineImage: a.Snapshot.MachineImage, - } - return client.DeleteSnapshot(mic, input) + return nil }