From 6bbfe7e0bdc693cdd2e024eab3fbf502bbdf8728 Mon Sep 17 00:00:00 2001 From: Matthew Hooker Date: Mon, 23 Apr 2018 10:24:49 -0700 Subject: [PATCH] remove useless check against format --- builder/vmware/iso/step_export.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builder/vmware/iso/step_export.go b/builder/vmware/iso/step_export.go index 4f6df9ed4..50b1efd9f 100644 --- a/builder/vmware/iso/step_export.go +++ b/builder/vmware/iso/step_export.go @@ -45,8 +45,8 @@ func (s *StepExport) Run(_ context.Context, state multistep.StateBag) multistep. return multistep.ActionContinue } - if c.RemoteType != "esx5" || s.Format == "" { - ui.Say("Skipping export of virtual machine (export is allowed only for ESXi and the format needs to be specified)...") + if c.RemoteType != "esx5" { + ui.Say("Skipping export of virtual machine (export is allowed only for ESXi)...") return multistep.ActionContinue }