continue, not break

This commit is contained in:
Megan Marsh 2017-08-08 14:53:56 -07:00
parent 2d6028eb9a
commit ef0a091720
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ OuterLoop:
for _, origDevice := range s.AMIMappings {
if origDevice.SnapshotId == *blockDevice.Ebs.SnapshotId {
ui.Message(fmt.Sprintf("Keeping Snapshot ID: %s", *blockDevice.Ebs.SnapshotId))
break OuterLoop
continue OuterLoop
}
}