Skip to content

Commit

Permalink
Merge pull request #7096 from priyawadhwa/issue-7095
Browse files Browse the repository at this point in the history
If user doesn't specify driver, don't validate against existing cluster
  • Loading branch information
tstromberg authored Mar 18, 2020
2 parents 0cff70d + ff8ae73 commit 073e3af
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/minikube/cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,10 @@ func validateSpecifiedDriver(existing *config.ClusterConfig) {
} else if d := viper.GetString("vm-driver"); d != "" {
requested = d
}
// Neither --vm-driver or --driver was specified
if requested == "" {
return
}
if old == requested {
return
}
Expand Down

0 comments on commit 073e3af

Please sign in to comment.