Wrong format is used with single quotes in log

pull/6/head
lixiaobing10051267 2016-08-05 15:23:23 +08:00
parent e4f70cb83f
commit 11f5ced9d3
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