1
0
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:
rawmind0
2020-05-20 20:30:46 +02:00
parent 43627bcf20
commit 8ff29b617f
6 changed files with 9 additions and 9 deletions

View File

@@ -54,9 +54,8 @@ func setOptionsFromCLI(c *cli.Context, rkeConfig *v3.RancherKubernetesEngineConf
rkeConfig.SSHAgentAuth = c.Bool("ssh-agent-auth")
}
if c.Bool("ignore-docker-version") {
rkeConfig.IgnoreDockerVersion = c.Bool("ignore-docker-version")
}
ignoreDockerVersion := c.Bool("ignore-docker-version")
rkeConfig.IgnoreDockerVersion = &ignoreDockerVersion
if c.Bool("s3") {
if rkeConfig.Services.Etcd.BackupConfig == nil {