fixed break order
This commit is contained in:
parent
2c92fc4d3c
commit
1d6b31a90f
1 changed files with 1 additions and 1 deletions
|
@ -266,9 +266,9 @@ class ElbManager:
|
|||
try:
|
||||
newelbs = elb.get_all_load_balancers(marker=marker)
|
||||
marker = newelbs.next_marker
|
||||
elbs.extend(newelbs)
|
||||
if not marker:
|
||||
break
|
||||
elbs.extend(newelbs)
|
||||
except TypeError:
|
||||
# Older version of boto do not allow for params
|
||||
elbs = elb.get_all_load_balancers()
|
||||
|
|
Loading…
Reference in a new issue