mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fix a regression I caused in boto_cognitoidentity
I popped the wrong argument. This didn't fail in my module since I didn't use that argument, but caused a failure in cognitoidentity.
This commit is contained in:
parent
fc03b25556
commit
ba33404d3e
@ -301,7 +301,7 @@ def paged_call(function, *args, **kwargs):
|
||||
its results, yielding each page as it is obtained.
|
||||
"""
|
||||
marker_flag = kwargs.pop('marker_flag', 'NextMarker')
|
||||
marker_arg = kwargs.pop('marker_flag', 'Marker')
|
||||
marker_arg = kwargs.pop('marker_arg', 'Marker')
|
||||
while True:
|
||||
ret = function(*args, **kwargs)
|
||||
marker = ret.get(marker_flag)
|
||||
|
Loading…
Reference in New Issue
Block a user