Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cgroups: skip empty controllers #292

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

eliad-wiz
Copy link
Contributor

In case of cgroupv2, the controllers list is empty.

Splitting it by comma results in a vector with a single empty element ([""]), instead of an empty vector ([]).

In case of cgroupv2, the controllers list is empty.

Splitting it by comma results in a vector with a single
empty element ([""]), instead of an empty vector ([]).

Signed-off-by: Eliad Peller <[email protected]>
@eminence
Copy link
Owner

eminence commented Nov 7, 2023

LGTM, thanks

@eminence eminence merged commit fa6e798 into eminence:master Nov 7, 2023
6 checks passed
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.

2 participants