Make sure listener ports are ints.

May fix #1984
reviewable/pr18780/r1
Toshio Kuratomi 9 years ago
parent 2f42cd4b2c
commit 2520627fe7

@ -573,8 +573,8 @@ class ElbManager(object):
# N.B. string manipulations on protocols below (str(), upper()) is to # N.B. string manipulations on protocols below (str(), upper()) is to
# ensure format matches output from ELB API # ensure format matches output from ELB API
listener_list = [ listener_list = [
listener['load_balancer_port'], int(listener['load_balancer_port']),
listener['instance_port'], int(listener['instance_port']),
str(listener['protocol'].upper()), str(listener['protocol'].upper()),
] ]

Loading…
Cancel
Save