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

Remove 'Include C&U metrics' option for Metering Reports #3751

Merged
merged 2 commits into from
Apr 16, 2018

Conversation

hstastna
Copy link

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

Remove 'Include C&U metrics' option for Metering Reports under Cloud Intel > Reports > Reports,
for Metering for VMs, as this option is redundant, since, by definition, Metering Reports always
include C&U metrics.

Before:
metering_before

After:
metering_after

Details:
I've added this line https://github.com/ManageIQ/manageiq-ui-classic/compare/master...hstastna:Remove_Include_C?expand=1#diff-1538215b565ccfdafec8a0d650ee5ebeR6 to the haml, as the option 'Include Capacity & Utilization Metrics' still makes sense, for ChargebackVm model. The rest is untouched. This means that the second option under Chargeback Resources section is displayed also for MeteringVm model, normally.

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

Remove 'Include C&U metrics' option for Metering Reports under Cloud Intel > Reports > Reports,
for Metering for VMs, as this option is redundant, since, by definition, Metering Reports always
include C&U metrics.
@hstastna
Copy link
Author

@miq-bot add_label bug

@miq-bot miq-bot added the bug label Apr 11, 2018
Small change of the code for the section displayed when creating Chargeback/Metering report.
@miq-bot
Copy link
Member

miq-bot commented Apr 11, 2018

Checked commits hstastna/manageiq-ui-classic@be2c7f1~...5931fac with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 1 offense detected

**

  • 💣 💥 🔥 🚒 - Linter/Haml - Linter::Haml STDERR:
warning: parser/current is loading parser/ruby23, which recognizes
warning: 2.3.6-compliant syntax, but you are running 2.3.3.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.

@mzazrivec mzazrivec self-assigned this Apr 16, 2018
@mzazrivec mzazrivec added this to the Sprint 84 Ending Apr 23, 2018 milestone Apr 16, 2018
@mzazrivec mzazrivec merged commit afe3dce into ManageIQ:master Apr 16, 2018
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.

3 participants