Correct misspelled variable name
In neutron/services/loadbalancer/drivers/embrane/driver.py, "persistence" is wrote with an "a", not with an "e". This patch fix this. Change-Id: I8da0d6d28c188c73ed844a8a0c7a523dae713344
This commit is contained in:
parent
75735e9cf1
commit
2abe915b66
@ -86,8 +86,8 @@ class EmbraneLbaas(abstract_driver.LoadBalancerAbstractDriver):
|
||||
if vip.get('connection_limit') and vip['connection_limit'] != -1:
|
||||
raise h_exc.UnsupportedException(
|
||||
err_msg=_('Connection limit is not supported by Embrane LB'))
|
||||
persistance = vip.get('session_persistence')
|
||||
if (persistance and persistance.get('type') ==
|
||||
persistence = vip.get('session_persistence')
|
||||
if (persistence and persistence.get('type') ==
|
||||
lbcon.SESSION_PERSISTENCE_APP_COOKIE):
|
||||
p_type = vip['session_persistence']['type']
|
||||
raise h_exc.UnsupportedException(
|
||||
|
Loading…
Reference in New Issue
Block a user