fix search/replace errors

pull/6888/head
Sharif Elgamal 2020-03-04 14:10:39 -08:00
parent ac0c1bad42
commit 2db0b8cea2
2 changed files with 5 additions and 5 deletions

View File

@ -623,13 +623,13 @@ kvm_in_docker:
rm -f out/docker-machine-driver-kvm2
$(call DOCKER,$(KVM_BUILD_IMAGE),/usr/bin/make out/docker-machine-driver-kvm2 COMMIT=$(COMMIT))
.PHONY: install-kdriver
install-kdriver: out/docker-machine-driver-kvm2 ## Install KVM Driver
.PHONY: install-kvmdriver
install-kvmdriver: out/docker-machine-driver-kvm2 ## Install KVM Driver
mkdir -p $(GOBIN)
cp out/docker-machine-driver-kvm2 $(GOBIN)/docker-machine-driver-kvm2
.PHONY: release-kdriver
release-kdriver: install-kdriver checksum ## Release KVM Driver
.PHONY: release-kvmdriver
release-kvmdriver: install-kvmdriver checksum ## Release KVM Driver
gsutil cp $(GOBIN)/docker-machine-driver-kvm2 gs://minikube/drivers/kvm/$(VERSION)/
gsutil cp $(GOBIN)/docker-machine-driver-kvm2.sha256 gs://minikube/drivers/kvm/$(VERSION)/

View File

@ -190,7 +190,7 @@ func initKubernetesFlags() {
// initDriverFlags inits the commandline flags for vm drivers
func initDriverFlags() {
startCmd.Flags().String("driver", "", fmt.Sprintf("Driver is one of: %v (defaults to auto-detect)", driver.DisplaySupportedDrivers()))
startCmd.Flags().String("driver", "", "DEPRECATED, use `driver` instead.")
startCmd.Flags().String("vm-driver", "", "DEPRECATED, use `driver` instead.")
startCmd.Flags().Bool(disableDriverMounts, false, "Disables the filesystem mounts provided by the hypervisors")
// kvm2