Work around a version clash issue with os-client-config

Need to add the fixed_arguments arg to _validate_auth() so
os-client-config 1.19.1 and 1.20.0 can call our version properly.

Change-Id: I328e47ba2f8115e6b18bf1482fd4aa35056907a4
This commit is contained in:
Dean Troyer 2016-08-22 08:29:29 -05:00
parent cb31fda264
commit 684412ca4c
1 changed files with 2 additions and 2 deletions

View File

@ -148,11 +148,11 @@ class OSC_Config(OpenStackConfig):
LOG.debug("auth_config_hook(): %s" % config)
return config
def _validate_auth_ksc(self, config, cloud):
def _validate_auth_ksc(self, config, cloud, fixed_argparse=None):
"""Old compatibility hack for OSC, no longer needed/wanted"""
return config
def _validate_auth(self, config, loader):
def _validate_auth(self, config, loader, fixed_argparse=None):
"""Validate auth plugin arguments"""
# May throw a keystoneauth1.exceptions.NoMatchingPlugin