Merge pull request #4282 from themalkolm/patch-1

Fix log statement
This commit is contained in:
Matthew Hooker 2016-12-13 11:10:30 -08:00 committed by GitHub
commit 92ade7cb45
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ func (s *StepDeregisterAMI) Run(state multistep.StateBag) multistep.StepAction {
}}})
if err != nil {
err := fmt.Errorf("Error creating AMI: %s", err)
err := fmt.Errorf("Error describing AMI: %s", err)
state.Put("error", err)
ui.Error(err.Error())
return multistep.ActionHalt