From 50c3bef3ea21037cd15fbe44ce6c610efae9567a Mon Sep 17 00:00:00 2001 From: Angel Luis Moya Gonzalez Date: Thu, 14 May 2020 15:58:25 +0200 Subject: [PATCH] F #4302: Add DEPLOY_ID to states (#4731) Co-authored-by: mouyaq --- src/im_mad/remotes/lib/vcenter.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/im_mad/remotes/lib/vcenter.rb b/src/im_mad/remotes/lib/vcenter.rb index 6ea4b6bed1..af0950352f 100644 --- a/src/im_mad/remotes/lib/vcenter.rb +++ b/src/im_mad/remotes/lib/vcenter.rb @@ -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