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

validate: add validation for OOMScoreAdj #316

Closed

Conversation

Kxuan
Copy link
Contributor

@Kxuan Kxuan commented Jan 24, 2017

The acceptable values range from -1000 to +1000.

According to the description of "oom_score_adj" (https://www.kernel.org/doc/Documentation/filesystems/proc.txt)

The acceptable values range from -1000 to +1000.

According to the description of "oom_score_adj" (https://www.kernel.org/doc/Documentation/filesystems/proc.txt)

Signed-off-by: Zhai Zhaoxuan <[email protected]>
@Mashimiao
Copy link

I think this also is not needed, because we plan to use schema check value type and limit.
Please refer to https://github.com/opencontainers/runtime-spec/tree/master/schema

@Kxuan
Copy link
Contributor Author

Kxuan commented Jan 24, 2017

Ok,I found it in the schema.
So is the validation deprecated?

@Kxuan Kxuan closed this Jan 24, 2017
@Mashimiao
Copy link

No, schema and validation focus on different aspects

@wking
Copy link
Contributor

wking commented Jan 24, 2017 via email

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