go fmt builder/vmware/iso/step_create_vmx.go to calm down Travis CI.
This commit is contained in:
parent
e940dc7e42
commit
d275bacb0f
|
@ -44,7 +44,7 @@ func (s *stepCreateVMX) Run(state multistep.StateBag) multistep.StepAction {
|
||||||
ui := state.Get("ui").(packer.Ui)
|
ui := state.Get("ui").(packer.Ui)
|
||||||
|
|
||||||
// Convert the iso_path into a path relative to the .vmx file if possible
|
// Convert the iso_path into a path relative to the .vmx file if possible
|
||||||
if relativeIsoPath,err := filepath.Rel(config.VMXTemplatePath, filepath.FromSlash(isoPath)); err == nil {
|
if relativeIsoPath, err := filepath.Rel(config.VMXTemplatePath, filepath.FromSlash(isoPath)); err == nil {
|
||||||
isoPath = relativeIsoPath
|
isoPath = relativeIsoPath
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue