Fix #1984 - allow load_balancer_port as a variable
This commit is contained in:
parent
d26bff8162
commit
135e7c60de
1 changed files with 2 additions and 2 deletions
|
@ -521,8 +521,8 @@ class ElbManager(object):
|
|||
existing_listener_found = None
|
||||
for existing_listener in self.elb.listeners:
|
||||
# Since ELB allows only one listener on each incoming port, a
|
||||
# single match on the incomping port is all we're looking for
|
||||
if existing_listener[0] == listener['load_balancer_port']:
|
||||
# single match on the incoming port is all we're looking for
|
||||
if existing_listener[0] == int(listener['load_balancer_port']):
|
||||
existing_listener_found = self._api_listener_as_tuple(existing_listener)
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in a new issue