Skip to content

Commit

Permalink
containermetadata: fix cgroup pattern (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gandem authored Nov 14, 2024
1 parent 686f7d1 commit f881f9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion containermetadata/containermetadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func NewContainerMetadataProvider(ctx context.Context, nodeName string, monitorI
dockerClient: getDockerClient(),
containerdClient: getContainerdClient(),
nodeName: nodeName,
cgroupPattern: "proc/%d/cgroup",
cgroupPattern: "/proc/%d/cgroup",
}

p.deferredPID, err = lru.NewSynced[libpf.PID, libpf.Void](deferredLRUSize,
Expand Down

0 comments on commit f881f9a

Please sign in to comment.