Fix log statement

This commit is contained in:
Alexander Krasnukhin 2016-12-13 12:53:03 +01:00 committed by GitHub
parent 4cb4506b65
commit ac98aad1df

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