Commit 3fc16a7e authored by Ted Yu's avatar Ted Yu Committed by Ted Yu

Log pod name when pod status cannot be queried

parent 66ce5257
...@@ -228,7 +228,7 @@ func (m *manager) reconcileState() (success []reconciledContainer, failure []rec ...@@ -228,7 +228,7 @@ func (m *manager) reconcileState() (success []reconciledContainer, failure []rec
status, ok := m.podStatusProvider.GetPodStatus(pod.UID) status, ok := m.podStatusProvider.GetPodStatus(pod.UID)
for _, container := range allContainers { for _, container := range allContainers {
if !ok { if !ok {
klog.Warningf("[cpumanager] reconcileState: skipping pod; status not found (pod: %s, container: %s)", pod.Name, container.Name) klog.Warningf("[cpumanager] reconcileState: skipping pod; status not found (pod: %s)", pod.Name)
failure = append(failure, reconciledContainer{pod.Name, container.Name, ""}) failure = append(failure, reconciledContainer{pod.Name, container.Name, ""})
break break
} }
......
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