-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
fix an override logic in Inherit function #16668
Conversation
LGTM, could you add a test? |
@karta0807913 Either add a test or [NO NEW TESTS NEEDED] to the message above and then force push so we can merge. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: karta0807913, rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Sure, give me some time to figure out how to add a test :D |
Fix an overriding logic in Inhearit function. Alos, ToSpecGen function doesn't load the cgroup/image volume config from containers.conf. Signed-off-by: karta0807913 <[email protected]>
Signed-off-by: karta0807913 <[email protected]>
} | ||
if s.ImageVolumeMode == "bind" { | ||
s.ImageVolumeMode = "anonymous" | ||
} |
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.
@giuseppe could you check the logic here?
I copy them from the fill spec function.
Signed-off-by: karta0807913 <[email protected]>
HI @rhatdan, I fix all tests. |
/lgtm |
Signed-off-by: karta0807913 [email protected]
Refer to issue #16632
Does this PR introduce a user-facing change?
No