lib/fog/ecloud/requests/compute/get_detached_disk.rb in fog-1.9.0 vs lib/fog/ecloud/requests/compute/get_detached_disk.rb in fog-1.10.0

- old
+ new

@@ -10,10 +10,10 @@ detached_disk_id = id_from_uri(uri) detached_disk = self.data[:detached_disks][detached_disk_id] if detached_disk response(:body => Fog::Ecloud.slice(detached_disk, :id, :compute_pool_id)) - else response(:status => 404) # ? + else raise Fog::Errors::NotFound end end end end end