Use Infof/Warningf when appropriate

When we use a format string, we should use Infof/Warningf instead
of Info/Warning
This commit is contained in:
Davanum Srinivas
2016-07-19 12:10:50 -04:00
parent d9fbb9f600
commit ee8507a5ae
9 changed files with 10 additions and 10 deletions

View File

@@ -80,7 +80,7 @@ func parseThinLsOutput(output []byte) map[string]uint64 {
deviceID := fields[0]
usage, err := strconv.ParseUint(fields[1], 10, 64)
if err != nil {
glog.Warning("unexpected error parsing thin_ls output: %v", err)
glog.Warningf("unexpected error parsing thin_ls output: %v", err)
continue
}