lib/fog/vsphere/models/compute/datastores.rb in fog-1.8.0 vs lib/fog/vsphere/models/compute/datastores.rb in fog-1.9.0

- old
+ new

@@ -9,15 +9,15 @@ model Fog::Compute::Vsphere::Datastore attr_accessor :datacenter def all(filters = {}) - load connection.list_datastores(filters.merge(:datacenter => datacenter)) + load service.list_datastores(filters.merge(:datacenter => datacenter)) end def get(id) requires :datacenter - new connection.get_datastore(id, datacenter) + new service.get_datastore(id, datacenter) end end end end