mirror of
https://github.com/rancher/rke.git
synced 2025-09-01 23:16:22 +00:00
Updated api bool fields with default=true to *bool. Go files
This commit is contained in:
@@ -628,7 +628,7 @@ func parseNodeDrainInput(clusterFile string, rkeConfig *v3.RancherKubernetesEngi
|
||||
var update bool
|
||||
if _, ok := nodeDrainInputMap["ignore_daemonsets"]; !ok {
|
||||
// user hasn't provided any input, default to true
|
||||
nodeDrainInput.IgnoreDaemonSets = DefaultNodeDrainIgnoreDaemonsets
|
||||
nodeDrainInput.IgnoreDaemonSets = &DefaultNodeDrainIgnoreDaemonsets
|
||||
update = true
|
||||
}
|
||||
if _, ok := nodeDrainInputMap["timeout"]; !ok {
|
||||
|
Reference in New Issue
Block a user