lib/fog/rackspace/models/compute_v2/flavors.rb in fog-1.15.0 vs lib/fog/rackspace/models/compute_v2/flavors.rb in fog-1.16.0
- old
+ new
@@ -13,12 +13,11 @@
# @raise [Fog::Compute::RackspaceV2::NotFound] - HTTP 404
# @raise [Fog::Compute::RackspaceV2::BadRequest] - HTTP 400
# @raise [Fog::Compute::RackspaceV2::InternalServerError] - HTTP 500
# @raise [Fog::Compute::RackspaceV2::ServiceError]
# @note Fog's currentl implementation only returns 1000 flavors.
- # @note Fog does not retrieve all flavor details. Please use #get to retrieve all details for a specific flavor.
def all
- data = service.list_flavors.body['flavors']
+ data = service.list_flavors_detail.body['flavors']
load(data)
end
# Retrieve image
# @param [String] flavor_id id of flavor