Skip to content

Commit 073e3af

Browse files
authored
Merge pull request #7096 from priyawadhwa/issue-7095
If user doesn't specify driver, don't validate against existing cluster
2 parents 0cff70d + ff8ae73 commit 073e3af

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmd/minikube/cmd/start.go

+4
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,10 @@ func validateSpecifiedDriver(existing *config.ClusterConfig) {
496496
} else if d := viper.GetString("vm-driver"); d != "" {
497497
requested = d
498498
}
499+
// Neither --vm-driver or --driver was specified
500+
if requested == "" {
501+
return
502+
}
499503
if old == requested {
500504
return
501505
}

0 commit comments

Comments
 (0)