Skip to content

Commit dde6e8e

Browse files
authored
Merge pull request kubernetes#87858 from smarterclayton/different_type
kubelet: Debug pod status output diff is wrong
2 parents 334d788 + aed4d63 commit dde6e8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/kubelet/status/status_manager.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -622,8 +622,8 @@ func (m *manager) needsReconcile(uid types.UID, status v1.PodStatus) bool {
622622
// reconcile is not needed. Just return.
623623
return false
624624
}
625-
klog.V(3).Infof("Pod status is inconsistent with cached status for pod %q, a reconciliation should be triggered:\n %+v", format.Pod(pod),
626-
diff.ObjectDiff(podStatus, status))
625+
klog.V(3).Infof("Pod status is inconsistent with cached status for pod %q, a reconciliation should be triggered:\n %s", format.Pod(pod),
626+
diff.ObjectDiff(podStatus, &status))
627627

628628
return true
629629
}

0 commit comments

Comments
 (0)