add wait flag to updateExistingConfigFromFlags
parent
ee1f8fffb3
commit
84693eaf0a
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue