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:
parent
490f8770a6
commit
906404aa9c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user