Make sure listener ports are ints.

May fix #1984
This commit is contained in:
Toshio Kuratomi 2015-09-03 08:46:35 -07:00
parent 2f42cd4b2c
commit 2520627fe7

View file

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