Skip to content

Commit

Permalink
Merge pull request #1001 from marquiz/backports/release-0.8
Browse files Browse the repository at this point in the history
[release-0.8] rdt: stop trying to get container cgroup dir
  • Loading branch information
klihub authored Apr 19, 2023
2 parents e4dbb3b + 95fe569 commit 8b3df76
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/cri/resource-manager/control/rdt/rdt.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,12 +194,6 @@ func (ctl *rdtctl) assignClass(c cache.Container, class string) error {
return rdtError("%q: failed to get pod", c.PrettyName())
}

dir := c.GetCgroupDir()
if dir == "" {
return rdtError("%q: failed to determine cgroup directory",
c.PrettyName())
}

pids, err := c.GetProcesses()
if err != nil {
return rdtError("%q: failed to get process list: %v", c.PrettyName(), err)
Expand Down

0 comments on commit 8b3df76

Please sign in to comment.