mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-11 09:40:17 -04:00
compress pr #4395
This commit is contained in:
parent
71ff14abc0
commit
c1f5545986
1 changed files with 1 additions and 2 deletions
|
|
@ -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))
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue