Merge pull request #8371 from stephentawn/master

Fix error message when ovftool is missing
This commit is contained in:
Megan Marsh 2019-11-14 16:07:12 -08:00 committed by GitHub
commit 437983343a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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