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

Refactor ensure_nondefault method for chargeback rate #17188

Merged

Conversation

hstastna
Copy link

@hstastna hstastna commented Mar 22, 2018

BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1552260
Needs to merge with the UI PR: ManageIQ/manageiq-ui-classic#3673

Refactor ensure_nondefault method so that a new default? method is created and improved: super is used instead of default?. The method is not private because we need it in chargeback controller, too.

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

Refactor ensure_nondefault method so that a
new default? method is created and improved.
@hstastna
Copy link
Author

@miq_bot add_label bug

@hstastna
Copy link
Author

@miq-bot add_label gaprindashvili/yes

@miq-bot
Copy link
Member

miq-bot commented Mar 22, 2018

Checked commit hstastna@f2349af with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. ⭐

@hstastna
Copy link
Author

@miq-bot add_label bug

@miq-bot miq-bot added the bug label Mar 22, 2018
Copy link
Contributor

@lpichler lpichler left a comment

Choose a reason for hiding this comment

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

LGTM, @hstastna thanks for this unification !

@lpichler
Copy link
Contributor

@miq-bot assign @gtanzillo

@martinpovolny martinpovolny merged commit 60e46a2 into ManageIQ:master Apr 6, 2018
@martinpovolny martinpovolny added this to the Sprint 83 Ending Apr 9, 2018 milestone Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants