mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-22 20:54:49 +09:00
M #-: Include deploy_id in public driver cache (#4736)
This commit is contained in:
1 parent
8ab972c0fd
commit
82a8183daf
1 file changed
+3
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user