Fix ELB ssl_certificate_id typo. Closes #1528.

This commit is contained in:
Steve Pulec 2018-04-13 07:33:53 -04:00
parent e8a88cf3b2
commit 929ae286cf
2 changed files with 1 additions and 4 deletions

View File

@ -578,9 +578,6 @@ class APIGatewayBackend(BaseBackend):
return {}
apigateway_backends = {}
for region_name in Session().get_available_regions('apigateway'):
apigateway_backends[region_name] = APIGatewayBackend(region_name)

View File

@ -268,7 +268,7 @@ class ELBBackend(BaseBackend):
protocol = port['protocol']
instance_port = port['instance_port']
lb_port = port['load_balancer_port']
ssl_certificate_id = port.get('sslcertificate_id')
ssl_certificate_id = port.get('ssl_certificate_id')
for listener in balancer.listeners:
if lb_port == listener.load_balancer_port:
if protocol != listener.protocol: