Fix 'MaxRecords' type issues by _get_param()
It alternates _get_param() with _get_int_param() on parsing the parameter 'MaxRecords'.
This commit is contained in:
parent
6bc07360a1
commit
5d91ce20fc
3 changed files with 4 additions and 4 deletions
|
|
@ -95,7 +95,7 @@ class RDSResponse(BaseResponse):
|
|||
start = all_ids.index(marker) + 1
|
||||
else:
|
||||
start = 0
|
||||
page_size = self._get_param('MaxRecords', 50) # the default is 100, but using 50 to make testing easier
|
||||
page_size = self._get_int_param('MaxRecords', 50) # the default is 100, but using 50 to make testing easier
|
||||
instances_resp = all_instances[start:start + page_size]
|
||||
next_marker = None
|
||||
if len(all_instances) > start + page_size:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue