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

Make container_args clone-able #2193

Merged
merged 1 commit into from
Jul 23, 2023
Merged

Conversation

yihuaf
Copy link
Collaborator

@yihuaf yihuaf commented Jul 21, 2023

Make the container_args clone-able and remove the use of references. Container_args is passed to the intermediate and init process, so we need to make sure it can across the clone process boundry safely by allowing passing of the container_args ownership to the new process.

Make the container_args clone-able and remove the use of references.
Container_args is passed to the intermediate and init process, so we
need to make sure it can across the clone process boundry safely by
allowing passing of the container_args ownership to the new process.

Signed-off-by: yihuaf <yihuaf@unkies.org>
@yihuaf yihuaf added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Jul 21, 2023
@yihuaf yihuaf self-assigned this Jul 21, 2023
@codecov-commenter
Copy link

Codecov Report

Merging #2193 (970bd6f) into main (c3559e4) will decrease coverage by 0.05%.
The diff coverage is 33.33%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2193      +/-   ##
==========================================
- Coverage   64.98%   64.93%   -0.05%     
==========================================
  Files         129      129              
  Lines       14970    14979       +9     
==========================================
- Hits         9728     9727       -1     
- Misses       5242     5252      +10     

@yihuaf yihuaf requested review from utam0k, YJDoc2 and a team July 21, 2023 16:17
@@ -28,7 +28,7 @@ pub(super) struct ContainerBuilderImpl<'a> {
/// Id of the container
pub container_id: String,
/// OCI compliant runtime spec
pub spec: &'a Spec,
pub spec: Rc<Spec>,
Copy link
Member

Choose a reason for hiding this comment

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

👍

@utam0k utam0k merged commit f3da56e into youki-dev:main Jul 23, 2023
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants