diff options
author | Jamie Lennox <jamielennox@gmail.com> | 2016-08-24 17:37:07 +1000 |
---|---|---|
committer | Jamie Lennox <jamielennox@gmail.com> | 2016-08-24 18:52:36 +1000 |
commit | f557170404ec2b7f5c562e55ad212b6e444655c8 (patch) | |
tree | ad5dde2988ffd86e56c0194a772f2a77c5abdf23 /keystoneclient/base.py | |
parent | 4b8158f9b499646aa80dadf8594a9efa4ef57b14 (diff) | |
download | python-keystoneclient-f557170404ec2b7f5c562e55ad212b6e444655c8.tar.gz |
Use AUTH_INTERFACE object from keystoneauth
As keystoneclient and other services rely more on keystoneauth we should
assume that keystoneauth is our base auth library, not keystoneclient
and start to default to the objects provided from there. This will make
it easier to remove these objects when the time comes.
Use the AUTH_INTERFACE special object from keystoneauth in most places.
This uses it everywhere that is actually session independant. For
example it is not changed within the keystoneclient auth plugins
themselves as they are directly compatible with keystoneauth.
Change-Id: Ibc1224fca98c852106feb78c624b0b2f22b3a19d
Diffstat (limited to 'keystoneclient/base.py')
-rw-r--r-- | keystoneclient/base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keystoneclient/base.py b/keystoneclient/base.py index 3f13a6c..fc16298 100644 --- a/keystoneclient/base.py +++ b/keystoneclient/base.py @@ -22,11 +22,11 @@ import copy import functools import warnings +from keystoneauth1 import plugin from oslo_utils import strutils import six from six.moves import urllib -from keystoneclient import auth from keystoneclient import exceptions from keystoneclient.i18n import _ @@ -389,7 +389,7 @@ class CrudManager(Manager): return self._list( url_query, self.collection_key, - endpoint_filter={'interface': auth.AUTH_INTERFACE}) + endpoint_filter={'interface': plugin.AUTH_INTERFACE}) else: raise |