about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 099125767261..0d809071ab5e 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)
 }