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/fs: fix NPE on Destroy than no cgroups are set #1752

Merged
merged 1 commit into from Mar 7, 2018

Conversation

dennwc
Copy link

@dennwc dennwc commented Mar 6, 2018

Currently Manager accepts nil cgroups when calling Apply, but it will panic then trying to call Destroy with the same config.

Currently Manager accepts nil cgroups when calling Apply, but it will panic then trying to call Destroy with the same config.

Signed-off-by: Denys Smirnov <denys@sourced.tech>
@crosbymichael
Copy link
Member

crosbymichael commented Mar 7, 2018

LGTM

Approved with PullApprove

@cyphar
Copy link
Member

cyphar commented Mar 7, 2018

LGTM.

Approved with PullApprove

@cyphar cyphar merged commit 3d26fc3 into opencontainers:master Mar 7, 2018
cyphar added a commit that referenced this pull request Mar 7, 2018
  cgroups/fs: fix NPE on Destroy than no cgroups are set

LGTMs: @crosbymichael @cyphar
Closes #1752
@dennwc dennwc deleted the fix-1 branch March 10, 2018 10:02
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.

None yet

3 participants