Merge pull request #4395 from moorichardmoo/givevoldelerror
Output error causing ebs volume deletion failure
This commit is contained in:
commit
71ff14abc0
|
@ -106,6 +106,7 @@ func (s *stepCleanupVolumes) Cleanup(state multistep.StateBag) {
|
|||
_, 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))
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue