Skip to content

Commit 3fc16a7

Browse files
tedyuyutedz
authored andcommitted
Log pod name when pod status cannot be queried
1 parent 66ce525 commit 3fc16a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kubelet/cm/cpumanager/cpu_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ func (m *manager) reconcileState() (success []reconciledContainer, failure []rec
228228
status, ok := m.podStatusProvider.GetPodStatus(pod.UID)
229229
for _, container := range allContainers {
230230
if !ok {
231-
klog.Warningf("[cpumanager] reconcileState: skipping pod; status not found (pod: %s, container: %s)", pod.Name, container.Name)
231+
klog.Warningf("[cpumanager] reconcileState: skipping pod; status not found (pod: %s)", pod.Name)
232232
failure = append(failure, reconciledContainer{pod.Name, container.Name, ""})
233233
break
234234
}

0 commit comments

Comments
 (0)