about summary refs log tree commit diff
path: root/main.go
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-06-22T13·54+0200
committerVincent Ambo <tazjin@gmail.com>2017-07-03T12·27+0200
commit5bc6370af2073fec6a5a59cf60749e94a38c57dc (patch)
tree7b0eb55ca97fa714eefa7247ab58e785921e2700 /main.go
parent3728d0ae2eb957c8ba4251ee0f562c4941163816 (diff)
fix main: Correctly print kubectl errors
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 0991257672..0d809071ab 100644
--- a/main.go
+++ b/main.go
@@ -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)
 }