-
Notifications
You must be signed in to change notification settings - Fork 358
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
Changed if condition to rely on back-end method. #1351
Changed if condition to rely on back-end method. #1351
Conversation
So I just found out that this exists. That should handle this use case. I'll open a separate PR to change the existing provider code to use this method as well but that won't block you. |
Made ManageIQ/manageiq#15094 to change the Provider logic on the backend. |
54c1cf1
to
1ff6dd7
Compare
Changed check to call back-end method "MiqRegion#role_active?" to decide whether button should be enabled/disabled https://bugzilla.redhat.com/show_bug.cgi?id=1450290
1ff6dd7
to
c4bd99d
Compare
Checked commit h-kataria@c4bd99d with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
Changed if condition to rely on back-end method. (cherry picked from commit ce30797) https://bugzilla.redhat.com/show_bug.cgi?id=1451121
Fine backport details:
|
Changed check to call back-end method "MiqRegion#role_active?" to decide whether button should be enabled/disabled
https://bugzilla.redhat.com/show_bug.cgi?id=1450290
@carbonin changed code to call back-end method, will replace this call with new method when that's ready