lib/fog/vcloud_director/requests/compute/get_vdc.rb in fog-1.37.0 vs lib/fog/vcloud_director/requests/compute/get_vdc.rb in fog-1.38.0
- old
+ new
@@ -133,10 +133,10 @@
body[:ResourceEntities][:ResourceEntity] +=
get_vapps_in_this_vdc(vdc_id).map do |vapp_id, vapp|
{:type => "application/vnd.vmware.vcloud.vApp+xml",
:name => vapp[:name],
:href => make_href("vApp/#{vapp_id}")}
- end
+ end
body[:AvailableNetworks][:Network] =
data[:networks].map do |id, network|
{:type=>"application/vnd.vmware.vcloud.network+xml",
:name=>network[:name],