lib/fog/vsphere/models/compute/folder.rb in fog-1.8.0 vs lib/fog/vsphere/models/compute/folder.rb in fog-1.9.0
- old
+ new
@@ -12,10 +12,10 @@
attribute :path
attribute :type
def vms
return [] if type.to_s != 'vm'
- connection.servers(:folder => path, :datacenter => datacenter)
+ service.servers(:folder => path, :datacenter => datacenter)
end
def to_s
name
end