From aff7f63d7f867d513a49911cb3d64a195ee83855 Mon Sep 17 00:00:00 2001 From: Jeff Lowdermilk Date: Tue, 10 Feb 2015 10:02:16 -0800 Subject: [PATCH] Explicitly send error string to Fatal log 2 --- pkg/kubectl/cmd/util/helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubectl/cmd/util/helpers.go b/pkg/kubectl/cmd/util/helpers.go index d3001c059d4..ca5d9d2b5ad 100644 --- a/pkg/kubectl/cmd/util/helpers.go +++ b/pkg/kubectl/cmd/util/helpers.go @@ -36,7 +36,7 @@ import ( func checkErr(err error) { if err != nil { - glog.FatalDepth(1, err) + glog.FatalDepth(1, err.Error()) } }