Skip to content

Commit

Permalink
fix issue where version was not being set
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-prindle committed Jul 17, 2018
1 parent 555f1b2 commit c06869c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/minikube/cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@ func runStart(cmd *cobra.Command, args []string) {
}

selectedKubernetesVersion := viper.GetString(kubernetesVersion)

if strings.Compare(selectedKubernetesVersion, "") == 0 {
selectedKubernetesVersion = constants.DefaultKubernetesVersion
}
// Load profile cluster config from file
cc, err := loadConfigFromFile(viper.GetString(cfg.MachineProfile))
if err != nil && !os.IsNotExist(err) {
Expand Down

0 comments on commit c06869c

Please sign in to comment.