fixed break order

reviewable/pr18780/r1
Brian Coca 9 years ago
parent 2c92fc4d3c
commit 1d6b31a90f

@ -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…
Cancel
Save