mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
feature #3532: use VM name instead of deploy id
This commit is contained in:
parent
6ab4071d5c
commit
ba1bafe894
@ -324,7 +324,7 @@ class OneHostHelper < OpenNebulaHelper::OneHelper
|
||||
|
||||
wilds = get_importable_wilds(host)
|
||||
|
||||
vms = wilds.select {|vm| vm['DEPLOY_ID'] == name }
|
||||
vms = wilds.select {|vm| vm['VM_NAME'] == name }
|
||||
|
||||
if vms.length == 0
|
||||
return OpenNebula::Error.new("No importable wilds with name " <<
|
||||
|
Loading…
x
Reference in New Issue
Block a user