builder/vmware: compile host_ip on every platform

This commit is contained in:
Mitchell Hashimoto 2013-07-31 15:10:28 -07:00
parent 1286f735be
commit 8ac03e4898
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,3 @@
// +build darwin freebsd linux netbsd openbsd
package vmware
// Interface to help find the host IP that is available from within

View File

@ -57,7 +57,9 @@ func (*VMnetNatConfIPFinder) HostIP() (string, error) {
break
}
return "", err
if err != nil {
return "", err
}
}
return "", errors.New("host IP not found in NAT config")