don't put error in state, or we'll fail.
This commit is contained in:
parent
807a09a770
commit
fe472f45ae
|
@ -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())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue