From cef3d0eb248179504af6830a0c9c4be50815d4e8 Mon Sep 17 00:00:00 2001 From: Eric Mowry Date: Fri, 1 Mar 2019 14:16:00 -0500 Subject: [PATCH] Ran make fmt per Megan's request. --- builder/vmware/common/step_configure_vmx.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/builder/vmware/common/step_configure_vmx.go b/builder/vmware/common/step_configure_vmx.go index 1d94e4362..702f0e0e6 100644 --- a/builder/vmware/common/step_configure_vmx.go +++ b/builder/vmware/common/step_configure_vmx.go @@ -103,15 +103,15 @@ func (s *StepConfigureVMX) Run(_ context.Context, state multistep.StateBag) mult } // Set the extendedConfigFile setting for the .vmxf filename to the VMName - // if displayName is not set. This is needed so that when VMWare creates + // if displayName is not set. This is needed so that when VMWare creates // the .vmxf file it matches the displayName if it is set. When just using // the sisplayName if it was empty VMWare would make a file named ".vmxf". // The ".vmxf" file would not get deleted when the VM got deleted. - if s.DisplayName != "" { - vmxData["extendedconfigfile"] = fmt.Sprintf("%s.vmxf", s.DisplayName) - } else { - vmxData["extendedconfigfile"] = fmt.Sprintf("%s.vmxf", s.VMName) - } + if s.DisplayName != "" { + vmxData["extendedconfigfile"] = fmt.Sprintf("%s.vmxf", s.DisplayName) + } else { + vmxData["extendedconfigfile"] = fmt.Sprintf("%s.vmxf", s.VMName) + } err = WriteVMX(vmxPath, vmxData)