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

[vmfusion|compute] reworked structure as will be released in 0.4.0a

This commit is contained in:
Patrick Debois 2011-09-23 16:59:23 +02:00
parent 6f06f9737e
commit ce9a26e344

View file

@ -15,9 +15,9 @@ module Fog
filter={} if filter.nil?
unless filter.has_key?(:name)
vm_names=::Fission::VM.all
vm_names.each do |vm_name|
data << { :raw => ::Fission::VM.new(vm_name)}
vms=::Fission::VM.all
vms.each do |vm|
data << { :raw => vm}
end
else
data << { :raw => ::Fission::VM.new(filter[:name])}