Commit 0051dcc8 authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #19560 from Random-Liu/format-reconcile-log

Auto commit by PR queue bot
parents a5e79a9f acb74454
......@@ -428,7 +428,8 @@ func (m *manager) needsReconcile(uid types.UID, status api.PodStatus) bool {
// reconcile is not needed. Just return.
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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment