-
Notifications
You must be signed in to change notification settings - Fork 897
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
Add new rename_queue method to VM operations #17853
Conversation
@agrare @h-kataria This is the method we need for the new feature - adding ability to rename VMs :) |
@@ -75,6 +75,24 @@ def rename(new_name) | |||
raw_rename(new_name) | |||
end | |||
|
|||
def rename_queue(userid, new_name) | |||
task_opts = { | |||
:action => "Renanimg VM for user #{userid}", |
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.
Typo should be "Renaming..."
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.
Just pushed a commit to fix the typo
Checked commits hstastna/manageiq@9bc9d3c~...29c1af1 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
Add new rename_queue method to VM operations
Related RFE: https://bugzilla.redhat.com/show_bug.cgi?id=1559184
UI PR: ManageIQ/manageiq-ui-classic#4351
This PR adds a new
rename_queue
method needed for the UI to get a propertask_id
while renaming a VM (only VMWare).