import erorr
parent
7cb4f99886
commit
a19f90fd91
2
Makefile
2
Makefile
|
@ -249,7 +249,7 @@ out/minikube-installer.exe: out/minikube-windows-amd64.exe
|
|||
|
||||
out/docker-machine-driver-hyperkit: $(shell $(HYPERKIT_FILES))
|
||||
ifeq ($(MINIKUBE_BUILD_IN_DOCKER),y)
|
||||
$(call DOCKER,$(HYPERKIT_BUILD_IMAGE),/usr/bin/make $@)
|
||||
$(call DOCKER,$(HYPERKIT_BUILD_IMAGE),CC=o64-clang CXX=o64-clang++ /usr/bin/make $@)
|
||||
else
|
||||
GOOS=darwin CGO_ENABLED=1 go build -o $(BUILD_DIR)/docker-machine-driver-hyperkit k8s.io/minikube/cmd/drivers/hyperkit
|
||||
endif
|
||||
|
|
|
@ -18,8 +18,8 @@ limitations under the License.
|
|||
|
||||
package hyperkit
|
||||
|
||||
import "fmt"
|
||||
import "errors"
|
||||
|
||||
func GetMACAddressFromUUID(UUID string) (string, error) {
|
||||
return "", fmt.Error("Function not supported on CGO_ENABLED=0 binaries")
|
||||
return "", errors.New("Function not supported on CGO_ENABLED=0 binaries")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue