Skip to content

Commit

Permalink
refine podMeta log
Browse files Browse the repository at this point in the history
  • Loading branch information
kangclzjc committed Sep 4, 2024
1 parent 3ca5126 commit 1ebbc24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/koordlet/util/resctrl/resctrl.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ func GetPodCgroupNewTaskIdsFromPodCtx(podMeta *protocol.PodContext, tasksMap map
for containerId, v := range podMeta.Request.ContainerTaskIds {
ids, err := GetNewTaskIds(v, tasksMap)
if err != nil {
klog.Warningf("failed to get pod container cgroup task ids for container %s/%s/%s, err: %s",
podMeta.Request.PodMeta.Namespace, podMeta.Request.PodMeta.Name, containerId, err)
klog.Warningf("failed to get pod container cgroup task ids for container %s/%s, err: %s",
podMeta.Request.PodMeta.String(), containerId, err)
continue
}
taskIds = append(taskIds, ids...)
Expand Down

0 comments on commit 1ebbc24

Please sign in to comment.