-
Notifications
You must be signed in to change notification settings - Fork 898
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
Do unassign tags when mapped tags list becomes empty #16370
Conversation
.blank? check was a bug, it also skipped retagging given empty array. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1508437
Checked commit cben@5bc81aa with ruby 2.3.3, rubocop 0.47.1, and haml-lint 0.20.0 |
LGTM 👍 |
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.
👍 LGTM
I don't want to hold this fix up but we need some tests around tag mapping
Yep. We have some tests for |
Do unassign tags when mapped tags list becomes empty (cherry picked from commit 48675e0) https://bugzilla.redhat.com/show_bug.cgi?id=1510095
Gaprindashvili backport details:
|
Do unassign tags when mapped tags list becomes empty (cherry picked from commit 48675e0) https://bugzilla.redhat.com/show_bug.cgi?id=1510096
Fine backport details:
|
Do unassign tags when mapped tags list becomes empty (cherry picked from commit 48675e0) https://bugzilla.redhat.com/show_bug.cgi?id=1510096
.blank? check was a bug, it also skipped retagging given empty array.
Fixes
https://bugzilla.redhat.com/show_bug.cgi?id=1508437 (master)
https://bugzilla.redhat.com/show_bug.cgi?id=1510095 (gaprindashvili)
https://bugzilla.redhat.com/show_bug.cgi?id=1510096 (fine)
@miq-bot add-label bug, fine/yes, gaprindashvili/yes
@djberg96 @agrare Tiny but important fix, please review.