Commit ae0f80c6 by tepwil Committed by James Cammarata

Fixing bug in cross-zone load balancing enablement

Fixes #8861
parent 9adde1ea
......@@ -591,7 +591,7 @@ class ElbManager(object):
def _set_cross_az_load_balancing(self):
attributes = self.elb.get_attributes()
if self.cross_az_load_balancing == 'yes':
if self.cross_az_load_balancing:
attributes.cross_zone_load_balancing.enabled = True
else:
attributes.cross_zone_load_balancing.enabled = False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment