lib/fog/ovirt/models/compute/clusters.rb in fog-maestrodev-1.7.0.20121114190951 vs lib/fog/ovirt/models/compute/clusters.rb in fog-maestrodev-1.8.0.20130109172219
- old
+ new
@@ -8,14 +8,14 @@
class Clusters < Fog::Collection
model Fog::Compute::Ovirt::Cluster
def all(filters = {})
- load connection.list_clusters(filters)
+ load service.list_clusters(filters)
end
def get(id)
- new connection.get_cluster(id)
+ new service.get_cluster(id)
end
end
end
end