summaryrefslogtreecommitdiff
path: root/openstackclient/api/auth_plugin.py
diff options
context:
space:
mode:
authorAlvaro Lopez Garcia <aloga@ifca.unican.es>2016-05-27 11:03:15 +0200
committerAlvaro Lopez Garcia <aloga@ifca.unican.es>2016-06-21 08:55:30 +0200
commit099a2c38b99dff6a0909c0a3ba2909f1aea58644 (patch)
tree33a22440e3e8f3917b9023f557e1271fcbcd0807 /openstackclient/api/auth_plugin.py
parent78ae57112c846b3a230a928fe5fc3d8ee909dc15 (diff)
downloadpython-openstackclient-099a2c38b99dff6a0909c0a3ba2909f1aea58644.tar.gz
Refactor setting defaults for some scope parameters
The code is setting defaults for some scope parameters, cheking if the name ends with some specific substring (namely ending in "password") causing failures in some plugins that end with the same string, but do not allow those parameters (like "user_domain_id" in "v3oidcpassword"). Closes-Bug: #1582774 Change-Id: Id7036db3b783b135353d035dc4c1df7c808d6474
Diffstat (limited to 'openstackclient/api/auth_plugin.py')
-rw-r--r--openstackclient/api/auth_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/api/auth_plugin.py b/openstackclient/api/auth_plugin.py
index 36dc5160..4434bc8f 100644
--- a/openstackclient/api/auth_plugin.py
+++ b/openstackclient/api/auth_plugin.py
@@ -38,7 +38,7 @@ class TokenEndpoint(token_endpoint.AdminToken):
is for bootstrapping the Keystone database.
"""
- def load_from_options(self, url, token):
+ def load_from_options(self, url, token, **kwargs):
"""A plugin for static authentication with an existing token
:param string url: Service endpoint