Skip to content

refactor(libcontainer): rename to CapabilitiesMask#4719

Merged
creack merged 2 commits intomoby:masterfrom
philips:Capabilities-to-CapabilitiesMask
Mar 17, 2014
Merged

refactor(libcontainer): rename to CapabilitiesMask#4719
creack merged 2 commits intomoby:masterfrom
philips:Capabilities-to-CapabilitiesMask

Conversation

@philips
Copy link
Contributor

@philips philips commented Mar 17, 2014

The Capabilities field on libcontainer is actually used as a mask. Rename the
field so that this is more clear.

NOTE: This is completely untested, wanted to make sure @creack agreed
with me first.

Docker-DCO-1.1-Signed-off-by: Brandon Philips brandon.philips@coreos.com (github: philips)

@crosbymichael
Copy link
Contributor

@philips can you update the readme and container.json files in libcontainer?

@philips
Copy link
Contributor Author

philips commented Mar 17, 2014

@crosbymichael Sure. I guess that means you like the new name?

Brandon Philips added 2 commits March 17, 2014 11:07
The Capabilities field on libcontainer is actually used as a mask.
Rename the field so that this is more clear.

Docker-DCO-1.1-Signed-off-by: Brandon Philips <brandon.philips@coreos.com> (github: philips)
Someone probably got really used to typing er on the end of contain :)

Docker-DCO-1.1-Signed-off-by: Brandon Philips <brandon.philips@coreos.com> (github: philips)
@crosbymichael
Copy link
Contributor

@philips yes, it works for me and it will not cause any issues doing the rename because these files on disk only last for the run of a container.

Feel free to submit more PRs for libcontainer ;)

@philips
Copy link
Contributor Author

philips commented Mar 17, 2014

@crosbymichael Fixed the README and container.json. Also, fixed a funny grammar thing in ad7e7d6. I know the feeling... I don't know how many times I have tried to cd /etcd ;)

@creack
Copy link
Contributor

creack commented Mar 17, 2014

LGTM :)

creack added a commit that referenced this pull request Mar 17, 2014
refactor(libcontainer): rename to CapabilitiesMask
@creack creack merged commit 73f5aa8 into moby:master Mar 17, 2014
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