Merge pull request #87858 from smarterclayton/different_type
kubelet: Debug pod status output diff is wrong
This commit is contained in:
commit
dde6e8e746
@ -622,8 +622,8 @@ func (m *manager) needsReconcile(uid types.UID, status v1.PodStatus) bool {
|
||||
// reconcile is not needed. Just return.
|
||||
return false
|
||||
}
|
||||
klog.V(3).Infof("Pod status is inconsistent with cached status for pod %q, a reconciliation should be triggered:\n %+v", format.Pod(pod),
|
||||
diff.ObjectDiff(podStatus, status))
|
||||
klog.V(3).Infof("Pod status is inconsistent with cached status for pod %q, a reconciliation should be triggered:\n %s", format.Pod(pod),
|
||||
diff.ObjectDiff(podStatus, &status))
|
||||
|
||||
return true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user