From adc1a5690361ba07ea37b87cae4488e88a6389a6 Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Tue, 11 Feb 2020 17:11:23 -0800 Subject: [PATCH] search and replace cleanup --- pkg/minikube/driver/install.go | 6 +++--- test/integration/driver_install_or_update_test.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/minikube/driver/install.go b/pkg/minikube/driver/install.go index 4d5bb21cde..8a49e833fa 100644 --- a/pkg/minikube/driver/install.go +++ b/pkg/minikube/driver/install.go @@ -129,12 +129,12 @@ func validateDriver(executable string, v semver.Version) (string, error) { return path, fmt.Errorf("%s: unable to extract version from %q", executable, output) } - DriverVersion, err := semver.Make(ev) + driverVersion, err := semver.Make(ev) if err != nil { return path, errors.Wrap(err, "can't parse driver version") } - if DriverVersion.LT(v) { - return path, fmt.Errorf("%s is version %s, want %s", executable, DriverVersion, v) + if driverVersion.LT(v) { + return path, fmt.Errorf("%s is version %s, want %s", executable, driverVersion, v) } return path, nil } diff --git a/test/integration/driver_install_or_update_test.go b/test/integration/driver_install_or_update_test.go index 92152de949..cff536642c 100644 --- a/test/integration/driver_install_or_update_test.go +++ b/test/integration/driver_install_or_update_test.go @@ -29,7 +29,7 @@ import ( "k8s.io/minikube/pkg/minikube/driver" ) -func TestKDriverInstallOrUpdate(t *testing.T) { +func TestKVMDriverInstallOrUpdate(t *testing.T) { if NoneDriver() { t.Skip("Skip none driver.") }