search and replace cleanup
parent
8de1f8ba51
commit
adc1a56903
|
|
@ -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.")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue