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

utils: export ParseCgroupFile() #197

Merged
merged 1 commit into from
Jun 6, 2021

Conversation

thaJeztah
Copy link
Member

this exports the ParseCgroupFile() function, so that external consumers (such as moby) can use this function, instead of the implementation in runc's libcontainer (which is not intended for external consumers).

The GoDoc documentation was borrowed from runc opencontainers/runc@d244b40 (added @kolyshkin as co-author)

Relates to moby/moby#42071 (https://github.com/moby/moby/pull/42071/files#r585767248)
Relates to moby/moby#42452

this exports the ParseCgroupFile() function, so that external
consumers (such as moby) can use this function, instead of the
implementation in runc's libcontainer (which is not intended for
external consumers).

The GoDoc documentation was borrowed from runc:
opencontainers/runc@d244b40

Co-authored-by: Kir Kolyshkin <[email protected]>
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah
Copy link
Member Author

@AkihiroSuda @estesp @crosbymichael ptal

@fuweid fuweid merged commit ca6254f into containerd:master Jun 6, 2021
@thaJeztah thaJeztah deleted the export_parseCgroupFile branch February 23, 2022 17:58
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