builder/vmware: compile host_ip on every platform
This commit is contained in:
parent
1286f735be
commit
8ac03e4898
|
@ -1,5 +1,3 @@
|
|||
// +build darwin freebsd linux netbsd openbsd
|
||||
|
||||
package vmware
|
||||
|
||||
// Interface to help find the host IP that is available from within
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue