-
Notifications
You must be signed in to change notification settings - Fork 357
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
Fix retirevms and vm_button_operations to account for it being called for objects other than VMOrTemplate #890
Conversation
@miq-bot add_label refactoring |
@miq-bot add_label bug |
Oh, I see, it's not just "vms" there are several types of entities handled by that code. @romanblanco , @PanSpagetka : need to me more careful with this. The comments as well as the variable names lie. You need to check buttons that lead to the particular place :-( |
@@ -215,7 +215,8 @@ def ownership_update | |||
# Retire 1 or more VMs |
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.
@lgalis, can you, please, remove the missleading comment and rename the variable vms
to something that suggest that we deal here with different things?
e3b7439
to
d724ecf
Compare
d724ecf
to
f04da5e
Compare
f04da5e
to
0ab8562
Compare
Checked commit lgalis@0ab8562 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
/cc @martinpovolny |
…r_retirement_call Fix retirevms and vm_button_operations to account for it being called for objects other than VMOrTemplate (cherry picked from commit 5523cfb) https://bugzilla.redhat.com/show_bug.cgi?id=1439295
Fine backport details:
|
After #852 changes, the retirement buttons do not work for services and orchestration stacks list selection.
https://bugzilla.redhat.com/show_bug.cgi?id=1438598
pivotal: https://www.pivotaltracker.com/story/show/140944305