lib/fog/oraclecloud/models/database/patches.rb in fog-oraclecloud-0.1.16 vs lib/fog/oraclecloud/models/database/patches.rb in fog-oraclecloud-0.1.17
- old
+ new
@@ -6,10 +6,10 @@
class Patches < Fog::Collection
model Fog::OracleCloud::Database::Patch
def all(db_name)
- data = service.list_patches(db_name).body['availablePatches']
+ data = service.list_patches(db_name).body
load(data)
end
end
end