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
This commit is contained in:
Brian Haley 2021-07-01 12:49:36 -04:00 committed by Brian Haley
parent 6a9cd92ae0
commit a3b01fd310
1 changed files with 1 additions and 1 deletions

View File

@ -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.