Fix camelcase_to_underscore. Closes #767.
This commit is contained in:
parent
446843e756
commit
25e2af0320
6 changed files with 28 additions and 72 deletions
|
|
@ -85,7 +85,7 @@ class FakeLoadBalancer(BaseModel):
|
|||
instance_port=(
|
||||
port.get('instance_port') or port['InstancePort']),
|
||||
ssl_certificate_id=port.get(
|
||||
'sslcertificate_id', port.get('SSLCertificateId')),
|
||||
'ssl_certificate_id', port.get('SSLCertificateId')),
|
||||
)
|
||||
self.listeners.append(listener)
|
||||
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ class ELBResponse(BaseResponse):
|
|||
load_balancer_name, instance_ids)
|
||||
return template.render(load_balancer=load_balancer)
|
||||
|
||||
def set_load_balancer_listener_sslcertificate(self):
|
||||
def set_load_balancer_listener_ssl_certificate(self):
|
||||
load_balancer_name = self._get_param('LoadBalancerName')
|
||||
ssl_certificate_id = self.querystring['SSLCertificateId'][0]
|
||||
lb_port = self.querystring['LoadBalancerPort'][0]
|
||||
|
|
@ -188,7 +188,7 @@ class ELBResponse(BaseResponse):
|
|||
template = self.response_template(CREATE_LOAD_BALANCER_POLICY_TEMPLATE)
|
||||
return template.render()
|
||||
|
||||
def create_lbcookie_stickiness_policy(self):
|
||||
def create_lb_cookie_stickiness_policy(self):
|
||||
load_balancer_name = self._get_param('LoadBalancerName')
|
||||
|
||||
policy = AppCookieStickinessPolicy()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue