← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1406172] Re: the code of get_token_provider in token.provider.py does not match docstring

 

** Changed in: keystone
       Status: Fix Committed => Fix Released

** Changed in: keystone
    Milestone: None => kilo-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1406172

Title:
  the code of get_token_provider in token.provider.py does not match
  docstring

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  The docstring says "Return the provider based on ``token_format`` if
  ``provider`` is not set. Otherwise, ignore ``token_format`` and return
  the configured ``provider`` instead.", refer to:
  https://github.com/openstack/keystone/blob/f5c06d619c762d5d39e8ec3bc752215ec02b2756/keystone/token/provider.py#L127

  However, the codes check CONF.signing.token_format first and then
  check CONF.token.provider.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1406172/+subscriptions


References