Merge pull request #8371 from stephentawn/master
Fix error message when ovftool is missing
This commit is contained in:
commit
437983343a
|
@ -73,7 +73,7 @@ func (s *StepExport) Run(ctx context.Context, state multistep.StateBag) multiste
|
||||||
|
|
||||||
ovftool := GetOVFTool()
|
ovftool := GetOVFTool()
|
||||||
if ovftool == "" {
|
if ovftool == "" {
|
||||||
err := fmt.Errorf("Error %s not found: ", ovftool)
|
err := fmt.Errorf("Error ovftool not found")
|
||||||
state.Put("error", err)
|
state.Put("error", err)
|
||||||
ui.Error(err.Error())
|
ui.Error(err.Error())
|
||||||
return multistep.ActionHalt
|
return multistep.ActionHalt
|
||||||
|
|
Loading…
Reference in New Issue