Merge pull request #87858 from smarterclayton/different_type

kubelet: Debug pod status output diff is wrong
This commit is contained in:
Kubernetes Prow Robot
2020-02-08 06:44:06 -08:00
committed by GitHub

View File

@@ -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
}