This commit is contained in:
Matthew Hooker 2017-01-13 11:42:20 -08:00
parent 71ff14abc0
commit c1f5545986
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
1 changed files with 1 additions and 2 deletions

View File

@ -105,8 +105,7 @@ func (s *stepCleanupVolumes) Cleanup(state multistep.StateBag) {
ui.Say(fmt.Sprintf("Destroying volume (%s)...", k))
_, err := ec2conn.DeleteVolume(&ec2.DeleteVolumeInput{VolumeId: aws.String(k)})
if err != nil {
ui.Say(fmt.Sprintf("Error deleting volume: %s", k))
ui.Say(fmt.Sprintf("The error is: %s", err))
ui.Say(fmt.Sprintf("Error deleting volume: %s", err))
}
}