From 36fa8f9957e440be59509e2deae696eb9c25fb8f Mon Sep 17 00:00:00 2001 From: nvnyale Date: Fri, 8 Jul 2022 11:36:42 -0400 Subject: [PATCH] logged a warning --- api/orchestration_images.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/api/orchestration_images.go b/api/orchestration_images.go index 26643e0..5c0f733 100644 --- a/api/orchestration_images.go +++ b/api/orchestration_images.go @@ -68,10 +68,8 @@ func (o *ec2Orchestrator) deleteImage(ctx context.Context, id string) error { SnapshotId: (s.SnapshotId), } if err := o.ec2Client.DeleteSnapshot(ctx, input); err != nil { - return err - //TODO: need to review the return error condition in the loop + log.Warnf("failed to delete snapshot %s: %v", aws.StringValue(s.SnapshotId), err) } - } return nil }