Fixing bug in cross-zone load balancing enablement

Fixes #8861
reviewable/pr18780/r1
tepwil 10 years ago committed by James Cammarata
parent 1d5a4be997
commit 8dad0ab509

@ -591,7 +591,7 @@ class ElbManager(object):
def _set_cross_az_load_balancing(self): def _set_cross_az_load_balancing(self):
attributes = self.elb.get_attributes() 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 attributes.cross_zone_load_balancing.enabled = True
else: else:
attributes.cross_zone_load_balancing.enabled = False attributes.cross_zone_load_balancing.enabled = False

Loading…
Cancel
Save