1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

F #4913: Fix context regeneration on VM resume

This commit is contained in:
mcabrerizo 2017-04-12 09:13:31 +02:00
parent 490f8770a6
commit 906404aa9c

View File

@ -48,7 +48,8 @@ begin
# Setting one_item is optional, but it saves a couple of API calls if
# we already have it
vm.one_item = drv_action
one_vm = VCenterDriver::VIHelper.one_item(OpenNebula::VirtualMachine, vm_id)
vm.one_item = one_vm
else
# VM is new
vm = VCenterDriver::VirtualMachine.new