From 11f5ced9d383f0c9b4a3ffec33d91ca1bb569832 Mon Sep 17 00:00:00 2001
From: lixiaobing10051267
Date: Fri, 5 Aug 2016 15:23:23 +0800
Subject: [PATCH] Wrong format is used with single quotes in log
---
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 c376c268ef..9b1dda7e46 100644
--- a/pkg/kubectl/cmd/util/helpers.go
+++ b/pkg/kubectl/cmd/util/helpers.go
@@ -363,7 +363,7 @@ func ReadConfigDataFromReader(reader io.Reader, source string) ([]byte, error) {
}
if len(data) == 0 {
- return nil, fmt.Errorf(`Read from %s but no data found`, source)
+ return nil, fmt.Errorf("Read from %s but no data found", source)
}
return data, nil