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