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

Interpret a cpu quota of zero as default value #569

Merged
merged 2 commits into from
Dec 28, 2021

Conversation

Furisto
Copy link
Member

@Furisto Furisto commented Dec 27, 2021

Runc interpretes a cpu quota of zero as an instruction to set the default value for cpu quota. As runtimes like CRI-O depend on this behavior we should do the same.

@codecov-commenter
Copy link

Codecov Report

Merging #569 (a76f30a) into main (e43f400) will increase coverage by 0.04%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##             main     #569      +/-   ##
==========================================
+ Coverage   60.59%   60.63%   +0.04%     
==========================================
  Files          99       99              
  Lines       12678    12667      -11     
==========================================
- Hits         7682     7681       -1     
+ Misses       4996     4986      -10     

Copy link
Member

@utam0k utam0k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@utam0k utam0k merged commit ef1df5d into containers:main Dec 28, 2021
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.

None yet

3 participants