mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 10:19:50 +00:00
Format reconcile log with format.Pod(pod)
This commit is contained in:
parent
2e5da8b881
commit
acb74454dc
@ -429,7 +429,8 @@ func (m *manager) needsReconcile(uid types.UID, status api.PodStatus) bool {
|
|||||||
// reconcile is not needed. Just return.
|
// reconcile is not needed. Just return.
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
glog.V(3).Infof("Pod status is inconsistent with cached status, a reconciliation should be triggered:\n %+v", util.ObjectDiff(pod.Status, status))
|
glog.V(3).Infof("Pod status is inconsistent with cached status for pod %q, a reconciliation should be triggered:\n %+v", format.Pod(pod),
|
||||||
|
util.ObjectDiff(pod.Status, status))
|
||||||
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user