Merge pull request #199 from shawnps/patch-2

fix string formatting verb
pull/204/head
vaikas-google 9 years ago
commit 2075c39d64

@ -57,7 +57,7 @@ func NewKubernetesKubectl(config *KubernetesConfig) Kubernetes {
} }
if config.KubeInsecure { if config.KubeInsecure {
args = append(args, fmt.Sprintf("--insecure-skip-tls-verify=%s", config.KubeInsecure)) args = append(args, fmt.Sprintf("--insecure-skip-tls-verify=%t", config.KubeInsecure))
} else { } else {
if config.KubeCertAuth != "" { if config.KubeCertAuth != "" {
args = append(args, fmt.Sprintf("--certificate-authority=%s", config.KubeCertAuth)) args = append(args, fmt.Sprintf("--certificate-authority=%s", config.KubeCertAuth))

Loading…
Cancel
Save