fix string formatting verb

pull/199/head
Shawn Smith 9 years ago
parent 5343c35b7e
commit afca35b5ec

@ -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