fix issue where version was not being set

pull/3014/head
Aaron Prindle 2018-06-19 17:44:53 -07:00 committed by dlorenc
parent a4606583e4
commit 8264dc0a12
1 changed files with 3 additions and 1 deletions

View File

@ -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) {