lib/fog/oraclecloud/requests/storage/get_container.rb in fog-oraclecloud-0.1.14 vs lib/fog/oraclecloud/requests/storage/get_container.rb in fog-oraclecloud-0.1.15
- old
+ new
@@ -27,10 +27,10 @@
if container = self.data[:containers][name]
response.status = 200
response.body = container
response
else;
- raise Fog::Compute::OracleCloud::NotFound.new("Storage Container #{name} does not exist");
+ raise Excon::Error::NotFound.new("Storage Container #{name} does not exist");
end
end
def get_container_with_objects(name)
response = Excon::Response.new