Merge pull request #30125 from lixiaobing10051267/masterFormat

Automatic merge from submit-queue

Wrong format is used with single quotes in log

Wrong format is used with single quotes in log, should use ""
pull/6/head
Kubernetes Submit Queue 2016-08-05 10:29:52 -07:00 committed by GitHub
commit e4b067efd0
1 changed files with 1 additions and 1 deletions

View File

@ -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