1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

F #4302: Add DEPLOY_ID to states (#4731)

Co-authored-by: mouyaq <amoya@opennebula.io>
This commit is contained in:
Angel Luis Moya Gonzalez 2020-05-14 15:58:25 +02:00 committed by GitHub
parent 152d82647d
commit 50c3bef3ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1220,10 +1220,11 @@ module DomainList
vms = vcm.fetch_vms_state
info = {}
vms.each do |vm|
info[vm[:uuid]] = { :id => vm[:id],
:uuid => vm[:uuid],
:name => vm[:deploy_id],
:state => vm[:state],
info[vm[:uuid]] = { :id => vm[:id],
:uuid => vm[:uuid],
:name => vm[:name],
:deploy_id => vm[:deploy_id],
:state => vm[:state],
:hyperv => 'vcenter' }
end