-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add non-recursive GetPids? #457
Comments
It sounds ok to me. Recursive behavior is not very common for such func. |
It was your PR (#330) that made it recursive 😜 So how do you want to proceed? I'd prefer |
Or we can provide both alternatives - |
@vishh +1 |
Ok. I'll send a patch in a bit. Hopefully @jimmidyson hasn't started working on a patch already. |
I'm nearly done tbh. |
@jimmidyson: 👍 |
We are migrating from
docker/libcontainer
to here & one issue for us is the implementation ofGetPids
is now recursive. In Kubernetes we use this project's cgroups functionality to get pids from a particular cgroup & move (Apply
) them to another one, but we don't want to do this recursively.How would you feel in adding a non-recursive
GetPids
? Pretty trivial implementation wise, but not sure how you'd feel about that?The text was updated successfully, but these errors were encountered: