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

feat: allow customize cgroup root path #2411

Merged
merged 3 commits into from
Oct 12, 2023

Conversation

fengxsong
Copy link
Contributor

@fengxsong fengxsong force-pushed the customize_cgroup_root branch from f0700fb to 4ce591c Compare October 7, 2023 06:49
@fengxsong
Copy link
Contributor Author

@utam0k PTAL

@utam0k
Copy link
Member

utam0k commented Oct 9, 2023

@fengxsong May I ask you to make it ready?

@utam0k utam0k marked this pull request as ready for review October 9, 2023 00:30
@utam0k utam0k marked this pull request as draft October 9, 2023 00:30
@codecov-commenter
Copy link

codecov-commenter commented Oct 9, 2023

Codecov Report

Merging #2411 (4cb58d4) into main (fee4641) will decrease coverage by 0.06%.
Report is 21 commits behind head on main.
The diff coverage is 0.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2411      +/-   ##
==========================================
- Coverage   65.98%   65.92%   -0.06%     
==========================================
  Files         133      133              
  Lines       16814    16829      +15     
==========================================
  Hits        11095    11095              
- Misses       5719     5734      +15     

Comment on lines 346 to 350
let root = if root_path.is_empty() {
Path::new(DEFAULT_CGROUP_ROOT)
} else {
root_path
};
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good idea. I've changed it.

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.

Thanks for your PR. I left a comment.

@fengxsong fengxsong marked this pull request as ready for review October 9, 2023 02:50
Signed-off-by: fengxsong <[email protected]>
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.

Thanks for your contribution 😍

@utam0k utam0k merged commit be1bab7 into youki-dev:main Oct 12, 2023
14 checks passed
fengxsong added a commit to fengxsong/youki that referenced this pull request Oct 13, 2023
fengxsong added a commit to fengxsong/youki that referenced this pull request Oct 13, 2023
YJDoc2 added a commit that referenced this pull request Oct 13, 2023
docs: update docs regarding the changes in #2411
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants