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

cmd/umoci: tag: fix tag clobbering #78

Merged
merged 2 commits into from
Feb 10, 2017
Merged

cmd/umoci: tag: fix tag clobbering #78

merged 2 commits into from
Feb 10, 2017

Conversation

cyphar
Copy link
Member

@cyphar cyphar commented Feb 8, 2017

Previously, tags would always be clobbered, but this logic was subtly
broken for "umoci tag". Fix this by matching the other PutReference
usages.

Ensure that we don't get a regression for "umoci tag" clobbering.

Fixes: 8b73b49 ("*: make logging [log.Info] much more user-friendly")
Signed-off-by: Aleksa Sarai asarai@suse.de

@cyphar cyphar force-pushed the master branch 2 times, most recently from 7d23332 to 3fd7aa0 Compare February 8, 2017 14:53
@cyphar cyphar force-pushed the fix-tag-clobbering branch 2 times, most recently from 0ca6a11 to 660358d Compare February 10, 2017 12:43
Previously, tags would always be clobbered, but this logic was subtly
broken for "umoci tag". Fix this by matching the other PutReference
usages.

Fixes: 8b73b49 ("*: make logging [log.Info] much more user-friendly")
Signed-off-by: Aleksa Sarai <asarai@suse.de>
Ensure that we don't get a regression for "umoci tag" clobbering.

Signed-off-by: Aleksa Sarai <asarai@suse.de>
@cyphar
Copy link
Member Author

cyphar commented Feb 10, 2017

LGTM 👍:shipit:

@cyphar cyphar merged commit 660358d into master Feb 10, 2017
cyphar referenced this pull request Feb 10, 2017
Closes openSUSE/umoci#78
LGTMs: @cyphar
@cyphar cyphar deleted the fix-tag-clobbering branch February 10, 2017 13:10
@cyphar cyphar added this to the 0.1.0 milestone Feb 10, 2017
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.

1 participant