-
Notifications
You must be signed in to change notification settings - Fork 897
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
Delegate custom attributes to images in ChargebackContainerImage #14395
Delegate custom attributes to images in ChargebackContainerImage #14395
Conversation
e0ed308
to
2663497
Compare
2663497
to
b580851
Compare
… been set by the particular chargeback
Checked commit zeari@b580851 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
@zeari This is good find. |
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.
@isimluk @options[:groupby_tag].present?
is always false for container images (there is no such option in UI) and then init_extra_fields(consumption) will init the entity as container image object - so we are using origin code for loading custom attributes
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.
👍
…ages Delegate custom attributes to images in ChargebackContainerImage (cherry picked from commit 6d5d478) https://bugzilla.redhat.com/show_bug.cgi?id=1434411
Euwe backport details:
|
…es_to_images Delegate custom attributes to images in ChargebackContainerImage (cherry picked from commit 6d5d478) https://bugzilla.redhat.com/show_bug.cgi?id=1434411
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1434159
Custom attributes in this report would
turn out nilcrash the report since they actually belong to the container image.@lpichler Please review
cc @simon3z
@miq-bot add_label bug, chargeback, providers/containers