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:
parent
0e37ae8406
commit
5236421707
1 changed files with 1 additions and 1 deletions
|
@ -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"])
|
||||
|
|
Loading…
Add table
Reference in a new issue