fix main: Correctly print kubectl errors

This commit is contained in:
Vincent Ambo 2017-06-22 15:54:14 +02:00
parent 3728d0ae2e
commit 5bc6370af2

View file

@ -180,6 +180,6 @@ func runKubectlWithResources(c *context.Context, kubectlArgs *[]string, resource
}
func failWithKubectlError(err error) {
fmt.Errorf("Kubectl error: %v\n", err)
fmt.Fprintf(os.Stderr, "Kubectl error: %v\n", err)
os.Exit(1)
}