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

Fix CgroupsPath interpretation #569

Merged

Conversation

mlaventure
Copy link
Contributor

When CgroupsPath code was introduced with #497 it was mistakenly made
to act as the equivalent of docker CgroupsParent. This ensure that it
is taken as the final cgroup path.

A couple of unit tests have been added to prevent future regression.

Signed-off-by: Kenfe-Mickael Laventure mickael.laventure@gmail.com


This basically fix a mistake I made within #497. I somehow only realized this now while trying to use v0.0.8 with docker.

When CgroupsPath code was introduced with opencontainers#497 it was mistakenly made
to act as the equivalent of docker CgroupsParent. This ensure that it
is taken as the final cgroup path.

A couple of unit tests have been added to prevent future regression.

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
@crosbymichael
Copy link
Member

LGTM

1 similar comment
@LK4D4
Copy link
Contributor

LK4D4 commented Feb 17, 2016

LGTM

LK4D4 added a commit that referenced this pull request Feb 17, 2016
@LK4D4 LK4D4 merged commit 382880b into opencontainers:master Feb 17, 2016
@mlaventure mlaventure deleted the fix-cgroupspath-as-cgroupsparent branch February 19, 2016 19:54
stefanberger pushed a commit to stefanberger/runc that referenced this pull request Sep 8, 2017
…ent-comment-v2

specs-go/config: Drop "this field is platform dependent" (again)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants