1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[rackspace|dns] adding :limit => 100 to clarify that all returns a limit of 100 records per page at @rupakg suggestion.

This commit is contained in:
Kyle Rames 2013-06-20 08:39:14 -05:00
parent 0e37ae8406
commit 5236421707

View file

@ -27,7 +27,7 @@ module Fog
def each
return self unless block_given?
params = {} #prime loop
params = { :limit => 100} # prime loop (100 Records is default page size for Rackspace Cloud)
while params
body = service.list_domains(params).body
subset = dup.load(body["domains"])