Skip to content

Commit

Permalink
add wait flag to updateExistingConfigFromFlags
Browse files Browse the repository at this point in the history
  • Loading branch information
medyagh committed Apr 6, 2020
1 parent b11d3c7 commit 644f36b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/minikube/cmd/start_flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,10 @@ func updateExistingConfigFromFlags(cmd *cobra.Command, existing *config.ClusterC
existing.KubernetesConfig.EnableDefaultCNI = viper.GetBool(enableDefaultCNI)
}

existing.VerifyComponents = interpretWaitFlag(*cmd)
if cmd.Flags().Changed(waitComponents) {
existing.VerifyComponents = interpretWaitFlag(*cmd)
}

return *existing
}

Expand Down

0 comments on commit 644f36b

Please sign in to comment.