summaryrefslogtreecommitdiff
path: root/keystoneclient/adapter.py
diff options
context:
space:
mode:
authorJamie Lennox <jamielennox@redhat.com>2014-12-02 12:27:53 +1000
committerJamie Lennox <jamielennox@redhat.com>2014-12-05 14:21:39 +1000
commit28ea0a8e36e56f5420314e38eb980c4d9b38dfe5 (patch)
treede65a1ff889c51ddfa4b1d5b2148ed167e19d8cd /keystoneclient/adapter.py
parent3c8d35247ebfc57663f363ba9522da27b8748262 (diff)
downloadpython-keystoneclient-28ea0a8e36e56f5420314e38eb980c4d9b38dfe5.tar.gz
Pass all adapter parameters through to adapter
We can't simply pass through kwargs to the adapter for compatibility reasons however make sure that we accept the appropriate arguments and pass them to adapter. Also add some notes to try and keep them up to date. Closes-Bug: #1399492 Change-Id: If72295590483bb52fcf5a0d59cf95f3e49ea69c8
Diffstat (limited to 'keystoneclient/adapter.py')
-rw-r--r--keystoneclient/adapter.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/keystoneclient/adapter.py b/keystoneclient/adapter.py
index 8f87c73..3cb4dc4 100644
--- a/keystoneclient/adapter.py
+++ b/keystoneclient/adapter.py
@@ -47,6 +47,8 @@ class Adapter(object):
interface=None, region_name=None, endpoint_override=None,
version=None, auth=None, user_agent=None,
connect_retries=None):
+ # NOTE(jamielennox): when adding new parameters to adapter please also
+ # add them to the adapter call in httpclient.HTTPClient.__init__
self.session = session
self.service_type = service_type
self.service_name = service_name