-
Notifications
You must be signed in to change notification settings - Fork 160
generate: add OOM Killer disable support #207
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
generate: add OOM Killer disable support #207
Conversation
fe9f3c9 to
b9f4a29
Compare
|
LGTM |
cmd/ocitools/generate.go
Outdated
| } | ||
|
|
||
| if context.IsSet("oom-kill-disable") { | ||
| g.SetLinuxResourcesDisableOOMKiller(context.Bool("oom-kill-disable")) |
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.
Follow the spec ordering and use --disable-oom-killer?
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.
On 09/13/2016 12:20 PM, W. Trevor King wrote:
Follow the spec ordering and use |--disable-oom-killer|?
Fine, fixed.
2c99d25 to
dd638c2
Compare
|
dd638c2 looks good to me.
|
Signed-off-by: Ma Shimiao <[email protected]>
dd638c2 to
5caf782
Compare
|
PR rebased. |
|
LGTM |
Signed-off-by: Ma Shimiao <[email protected]> Backported to v1.0.0.rc1 from 5caf782 opencontainers#207 (cherry-pick applied cleanly). Signed-off-by: W. Trevor King <[email protected]>
Signed-off-by: Ma Shimiao <[email protected]> Backported to v1.0.0.rc1 from 5caf782 opencontainers#207 (cherry-pick applied cleanly). Signed-off-by: W. Trevor King <[email protected]>
Signed-off-by: Ma Shimiao [email protected]