-
Notifications
You must be signed in to change notification settings - Fork 64
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: do not set OOMScoreAdj if no adjustment #116
Conversation
/cc @mikebrow |
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.
LGTM
Thanks!
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.
LGTM
Existing OOMScoreAdj on the incoming spec should not be cleared. Fixes containerd#117 Signed-off-by: Samuel Karp <[email protected]>
The generator should not clear an existing OOMScoreAdj if no adjustment is performed. Signed-off-by: Samuel Karp <[email protected]>
555a15b
to
07bfc18
Compare
i’m fine with not being able to unset for now.. we can figure that out in a follow up, after we ensure we are not accidentally unsetting ... |
Existing OOMScoreAdj on the incoming spec should not be cleared.
Fixes #117