Skip to content

Commit 76515fc

Browse files
committed
Warning when deleting snapshots of an image
1 parent f3a9157 commit 76515fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws/spec/image.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ func (cmd *DeleteImage) dryRun(renv env.Running, params map[string]interface{})
223223
return nil, err
224224
}
225225
if len(snaps) > 0 {
226-
cmd.logger.Infof("deleting image will also delete snapshot %s (prevent that by appending `delete-snapshots=false`)", strings.Join(snaps, ", "))
226+
renv.Log().Warningf("deleting image will also delete snapshot %s (prevent that by appending `delete-snapshots=false`)", strings.Join(snaps, ", "))
227227
}
228228
}
229229

0 commit comments

Comments
 (0)