-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Allow updating pids limit #1423
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
Allow updating pids limit #1423
Conversation
update.go
Outdated
| *pair.dest = uint64(v) | ||
| } | ||
| } | ||
| if val := context.String("pids-limit"); val != "" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
context.Int()?
update.go
Outdated
| Name: "memory-swap", | ||
| Usage: "Total memory usage (memory + swap); set '-1' to enable unlimited swap", | ||
| }, | ||
| cli.StringFlag{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cli.IntFlag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want int64 though, it doesn't exist unfortunately hence why the others are using StringFlag
3ce94ec to
36dd49e
Compare
|
@mlaventure update test is broken |
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
36dd49e to
1e7e276
Compare
|
ping @crosbymichael :) |
Signed-off-by: Kenfe-Mickael Laventure mickael.laventure@gmail.com