lib/fog/oraclecloud/models/soa/instances.rb in fog-oraclecloud-0.1.7 vs lib/fog/oraclecloud/models/soa/instances.rb in fog-oraclecloud-0.1.8
- old
+ new
@@ -11,14 +11,10 @@
data = service.list_instances().body['services']
load(data)
end
def get(id)
- begin
- new(service.get_instance(id).body)
- rescue Fog::OracleCloud::SOA::NotFound
- nil
- end
+ new(service.get_instance(id).body)
end
end
end
end
end