diff options
author | ushen <yshxxsjt715@gmail.com> | 2019-05-19 18:54:49 -0700 |
---|---|---|
committer | ushen <yshxxsjt715@gmail.com> | 2019-05-20 16:48:03 -0700 |
commit | fe36fa6b7c85b0f63d3f35f13f0ceee199e15c45 (patch) | |
tree | 6f7c9dbee2275e21d7377d008f6773749431c55c | |
parent | 3e4097128d29de8e0a5ba2843ae74a9a63b30ac0 (diff) | |
download | keystonemiddleware-fe36fa6b7c85b0f63d3f35f13f0ceee199e15c45.tar.gz |
print auth version for request strategy in debug
previously it will print auth version of _requested_auth_version
which will be none all the time. Change it to klass makes more sense.
Change-Id: I1cec8f163e808f03f15ef053e5768cf711238f0d
-rw-r--r-- | keystonemiddleware/auth_token/_identity.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keystonemiddleware/auth_token/_identity.py b/keystonemiddleware/auth_token/_identity.py index 36639a6..a733754 100644 --- a/keystonemiddleware/auth_token/_identity.py +++ b/keystonemiddleware/auth_token/_identity.py @@ -182,7 +182,7 @@ class IdentityServer(object): for klass in _REQUEST_STRATEGIES: if self._adapter.get_endpoint(version=klass.AUTH_VERSION): self._LOG.debug('Auth Token confirmed use of %s apis', - self._requested_auth_version) + klass.AUTH_VERSION) return klass versions = ['v%d.%d' % s.AUTH_VERSION for s in _REQUEST_STRATEGIES] |