lib/fog/openstack/models/compute/volumes.rb in fog-maestrodev-1.7.0.20121114190951 vs lib/fog/openstack/models/compute/volumes.rb in fog-maestrodev-1.8.0.20130109172219

- old
+ new

@@ -7,14 +7,14 @@ class Volumes < Fog::Collection model Fog::Compute::OpenStack::Volume def all(detailed=true) - load(connection.list_volumes(detailed).body['volumes']) + load(service.list_volumes(detailed).body['volumes']) end def get(volume_id) - if volume = connection.get_volume_details(volume_id).body['volume'] + if volume = service.get_volume_details(volume_id).body['volume'] new(volume) end rescue Fog::Compute::OpenStack::NotFound nil end