Skip to content

cgroups: Handle nil repo

John Cai requested to merge jc-cgroups-handle-nil-repository into master

If a command's repo is nil, handle it gracefully by adding the command to a cgroup by using the command arguments as a key for the circular hash.

While we're at it, fix a test that was doing the checksum incorrectly. This didn't make a difference in the test however, because we were using the groupID we calculated ourselves to check for the location of the cgroup file.

Changelog: fixed

Merge request reports