Skip to content

Commit

Permalink
Merge pull request #1878 from dims/fix-warning-to-warningf
Browse files Browse the repository at this point in the history
Fix Warning->Warningf for better logging
  • Loading branch information
dashpole committed Feb 3, 2018
2 parents 05f9f74 + b1656b2 commit 828ac5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager/container.go
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 828ac5e

Please sign in to comment.