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
This commit is contained in:
ushen 2019-05-19 18:54:49 -07:00
parent 3e4097128d
commit fe36fa6b7c
1 changed files with 1 additions and 1 deletions

View File

@ -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]