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

Clarify the canModifyBlob condition in copyBlobFromStream #1119

Merged
merged 1 commit into from
Jan 18, 2021

Conversation

mtrmac
Copy link
Collaborator

@mtrmac mtrmac commented Jan 15, 2021

The copyConfig caller already sets canModifyBlob to false, set it explicitly inside the function just to make the relationship easier to follow.

Also fix some comments.

Motivated by #1089 (comment) .

@mtrmac
Copy link
Collaborator Author

mtrmac commented Jan 15, 2021

Marked as draft because this is much less important than #1089, and #1089 will probably need to change the logic a bit.

@rhatdan
Copy link
Member

rhatdan commented Jan 16, 2021

LGTM

@mtrmac mtrmac force-pushed the canModify-isConfig branch from a616b53 to 5637ea6 Compare January 18, 2021 15:24
@mtrmac mtrmac marked this pull request as ready for review January 18, 2021 15:25
The copyConfig caller already sets canModifyBlob to false, set
it explicitly inside the function just to make the relationship
easier to follow.

Also fix some comments.

Signed-off-by: Miloslav Trmač <[email protected]>
@mtrmac mtrmac force-pushed the canModify-isConfig branch from 5637ea6 to e5ea852 Compare January 18, 2021 17:15
@nalind
Copy link
Member

nalind commented Jan 18, 2021

LGTM.

@rhatdan rhatdan merged commit b292bc1 into containers:master Jan 18, 2021
@mtrmac mtrmac deleted the canModify-isConfig branch January 18, 2021 20:49
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