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

[FINE] Check all costs fields for relevancy for the report #17395

Merged
merged 1 commit into from
May 14, 2018

Conversation

jrafanie
Copy link
Member

@jrafanie jrafanie commented May 8, 2018

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1576101

Manual backport of #17387

If a user asks only for some of the fields (memory cost) in a chargeback report
and they didn't request specific ones (memory allocated cost), we would skip
calculating the memory cost because we thought it wasn't relevant. We need to
check all cost fields to see if they're relevant for the requested fields in the
report.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1576101

Manual backport of ManageIQ#17387

If a user asks only for some of the fields (memory cost) in a chargeback report
and they didn't request specific ones (memory allocated cost), we would skip
calculating the memory cost because we thought it wasn't relevant.  We need to
check all cost fields to see if they're relevant for the requested fields in the
report.
@miq-bot
Copy link
Member

miq-bot commented May 8, 2018

Checked commit jrafanie@3c356a0 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 0 offenses detected
Everything looks fine. 🍪

@simaishi
Copy link
Contributor

@gtanzillo ping

Copy link
Member

@gtanzillo gtanzillo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@simaishi simaishi merged commit 29cc195 into ManageIQ:fine May 14, 2018
@simaishi simaishi added this to the Sprint 86 Ending May 21, 2018 milestone May 14, 2018
@jrafanie jrafanie deleted the backport_17387_to_fine branch July 15, 2022 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants