1
0
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:
Javi Fontan 2015-05-07 14:18:19 +02:00
parent 6ab4071d5c
commit ba1bafe894

View File

@ -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 " <<