Browse Source

Fix loadbalancer_update argument typo

Provider drivers who override this definition started
seeing a failure due to a typo. For example:

  W0237: [Parameter 'new_loadbalncer' has been renamed to
  'new_loadbalancer' in overridden 'MyProviderDriver.
  loadbalancer_update' method (arguments-renamed)

While we just updated .pylintrc to ignore the error,
might as well fix the typo.

Change-Id: I28e210605d2d8bc06bc99844c92b538568dbac45
changes/82/800082/3
Brian Haley 3 months ago
committed by Brian Haley
parent
commit
a3b01fd310
  1. 2
      octavia_lib/api/drivers/provider_base.py

2
octavia_lib/api/drivers/provider_base.py

@ -110,7 +110,7 @@ class ProviderDriver():
operator_fault_string='This provider does not support failing '
'over load balancers.')
def loadbalancer_update(self, old_loadbalancer, new_loadbalncer):
def loadbalancer_update(self, old_loadbalancer, new_loadbalancer):
"""Updates a load balancer.
:param old_loadbalancer: The baseline load balancer object.

Loading…
Cancel
Save