Commit adc1a569 authored by Sharif Elgamal's avatar Sharif Elgamal

search and replace cleanup

parent 8de1f8ba
......@@ -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
}
......
......@@ -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.")
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment