Skip to content

Commit

Permalink
Merge pull request kubernetes#22918 from Random-Liu/fix-kubelet-stats…
Browse files Browse the repository at this point in the history
…-log

Auto commit by PR queue bot
  • Loading branch information
k8s-merge-robot committed Mar 14, 2016
2 parents c0d3a0a + 4df8cfc commit 4c2d129
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/kubelet_stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ func (r *resourceMonitor) LogLatest() {
if err != nil {
Logf("%v", err)
}
Logf(r.FormatResourceUsage(summary))
Logf("%s", r.FormatResourceUsage(summary))
}

func (r *resourceMonitor) FormatResourceUsage(s resourceUsagePerNode) string {
Expand Down Expand Up @@ -647,7 +647,7 @@ func (r *resourceMonitor) FormatCPUSummary(summary nodesCPUSummary) string {

func (r *resourceMonitor) LogCPUSummary() {
summary := r.GetCPUSummary()
Logf(r.FormatCPUSummary(summary))
Logf("%s", r.FormatCPUSummary(summary))
}

func (r *resourceMonitor) GetCPUSummary() nodesCPUSummary {
Expand Down

0 comments on commit 4c2d129

Please sign in to comment.