mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 20:01:25 -07:00
use proper pagination variable (#25838)
This commit is contained in:
parent
911f4d3eb1
commit
b41b4fe2fd
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ class ElbInformation(object):
|
||||||
get_elb_with_backoff = AWSRetry.backoff(tries=5, delay=5, backoff=2.0)(self.connection.get_all_load_balancers)
|
get_elb_with_backoff = AWSRetry.backoff(tries=5, delay=5, backoff=2.0)(self.connection.get_all_load_balancers)
|
||||||
while True:
|
while True:
|
||||||
all_elbs = get_elb_with_backoff(marker=token)
|
all_elbs = get_elb_with_backoff(marker=token)
|
||||||
token = all_elbs.next_token
|
token = all_elbs.next_marker
|
||||||
|
|
||||||
if all_elbs:
|
if all_elbs:
|
||||||
if self.names:
|
if self.names:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue