mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
M #-: Include deploy_id in public driver cache (#4736)
This commit is contained in:
parent
8ab972c0fd
commit
82a8183daf
@ -249,7 +249,9 @@ class InstanceCache
|
||||
def select_vms
|
||||
vms = []
|
||||
execute_retry('SELECT * from vms').each do |vm|
|
||||
vms << Hash[[:uuid, :id, :name, :state, :type].zip(vm)]
|
||||
vm = Hash[[:uuid, :id, :name, :state, :type].zip(vm)]
|
||||
vm[:deploy_id] = vm[:uuid]
|
||||
vms << vm
|
||||
end
|
||||
|
||||
vms
|
||||
|
Loading…
x
Reference in New Issue
Block a user