Skip to content

Commit

Permalink
Fix Warning->Warningf for better logging
Browse files Browse the repository at this point in the history
  • Loading branch information
dims committed Feb 3, 2018
1 parent 5a2e3d0 commit b1656b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ func (c *containerData) housekeepingTick(timer <-chan time.Time, longHousekeepin
err := c.updateStats()
if err != nil {
if c.allowErrorLogging() {
glog.Warning("Failed to update stats for container \"%s\": %s", c.info.Name, err)
glog.Warningf("Failed to update stats for container \"%s\": %s", c.info.Name, err)
}
}
// Log if housekeeping took too long.
Expand Down

0 comments on commit b1656b2

Please sign in to comment.