Fix screwed-up log message format

It had two %-verbs and three arguments
This commit is contained in:
Bryan Boreham 2017-05-08 12:02:10 +00:00 committed by Bryan Boreham
parent ec5fd62234
commit 2d8c172a0f

View File

@ -131,7 +131,7 @@ func (m *managerImpl) Admit(attrs *lifecycle.PodAdmitAttributes) lifecycle.PodAd
}
// reject pods when under memory pressure (if pod is best effort), or if under disk pressure.
glog.Warningf("Failed to admit pod %v - %s", format.Pod(attrs.Pod), "node has conditions: %v", m.nodeConditions)
glog.Warningf("Failed to admit pod %s - node has conditions: %v", format.Pod(attrs.Pod), m.nodeConditions)
return lifecycle.PodAdmitResult{
Admit: false,
Reason: reason,