Skip to content

Conversation

eldering
Copy link
Member

Only one of cgroup V1 or V2 can be enabled at a time, so it doesn't make sense to have fallthrough behaviour from V2 to V1. Instead of adding an exit 0 at the end of the V2 case, add an else so that it is clearer that these are two mutually exclusive cases.

Fixes a0728be

Only one of cgroup V1 or V2 can be enabled at a time, so it doesn't
make sense to have fallthrough behaviour from V2 to V1.
Instead of adding an `exit 0` at the end of the V2 case, add an
`else` so that it is clearer that these are two mutually exclusive
cases.

Fixes a0728be
@eldering eldering enabled auto-merge November 24, 2024 08:40
@eldering eldering added this pull request to the merge queue Nov 24, 2024
Merged via the queue into main with commit cbadb70 Nov 24, 2024
34 checks passed
@eldering eldering deleted the fix-cgroupv2-check branch November 24, 2024 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants