use glog.Warningf when a format string is passed
This commit is contained in:
parent
f3d900b148
commit
85477fe544
@ -80,7 +80,7 @@ func parseThinLsOutput(output []byte) map[string]uint64 {
|
|||||||
deviceID := fields[0]
|
deviceID := fields[0]
|
||||||
usage, err := strconv.ParseUint(fields[1], 10, 64)
|
usage, err := strconv.ParseUint(fields[1], 10, 64)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
glog.Warning("unexpected error parsing thin_ls output: %v", err)
|
glog.Warningf("unexpected error parsing thin_ls output: %v", err)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user