don't put error in state, or we'll fail.

This commit is contained in:
Megan Marsh 2020-05-12 16:37:50 -07:00
parent 807a09a770
commit fe472f45ae
1 changed files with 0 additions and 1 deletions

View File

@ -63,7 +63,6 @@ func (s *stepCreateImage) Run(ctx context.Context, state multistep.StateBag) mul
}).ExtractErr()
if err != nil {
err := fmt.Errorf("Error setting image metadata: %s", err)
state.Put("error", err)
ui.Error(err.Error())
}
}