1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Tidying up for PR

This commit is contained in:
Tim Lawrence 2016-03-11 16:02:41 +00:00
parent d44ec12a45
commit 820cafa1f2
2 changed files with 1 additions and 9 deletions

View file

@ -12,14 +12,6 @@ module Fog
attribute :name
attribute :type
attribute :href
#attribute :status
#attribute :deployed
#attribute :operating_system
#attribute :ip_address
#attribute :cpu, :type => :integer
#attribute :memory, :type => :integer
#attribute :hard_disks, :aliases => :disks
#attribute :network_adapters
def reload
#Parent vapp_name & id are nil on a template_vm. Adding them from the collection parent

View file

@ -135,7 +135,7 @@ module Fog
{: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|