prefer identity API v3 over v2 in auth_token

This reverses the default order of preference between v2 and v3 to use
v3 by default if both are available.

Change-Id: I1a0a3b6c0652e7a762b51538c522e4cb1615bd39
Closes-Bug: 1336056
This commit is contained in:
Dolph Mathews 2014-07-14 12:24:57 -05:00
parent ff0ca09e0c
commit ce965ead93

View File

@ -335,7 +335,7 @@ _OPTS = [
CONF = cfg.CONF CONF = cfg.CONF
CONF.register_opts(_OPTS, group='keystone_authtoken') CONF.register_opts(_OPTS, group='keystone_authtoken')
_LIST_OF_VERSIONS_TO_ATTEMPT = ['v2.0', 'v3.0'] _LIST_OF_VERSIONS_TO_ATTEMPT = ['v3.0', 'v2.0']
class _BIND_MODE: class _BIND_MODE: