Remove duplicate creation of use_user_token
This code removes duplicate creation of the option in store_utils and leaves only one in registry client. Change-Id: Ic067094b0eb2c8803b5d0140dfae27baf72ac0e1 Closes-Bug: #1463466
This commit is contained in:
parent
c33fcb17bb
commit
7e65e96ea1
@ -29,14 +29,7 @@ _ = i18n._
|
||||
_LE = i18n._LE
|
||||
_LW = i18n._LW
|
||||
|
||||
store_utils_opts = [
|
||||
cfg.BoolOpt('use_user_token', default=True,
|
||||
help=_('Whether to pass through the user token when '
|
||||
'making requests to the registry.')),
|
||||
]
|
||||
|
||||
CONF = cfg.CONF
|
||||
CONF.register_opts(store_utils_opts)
|
||||
|
||||
RESTRICTED_URI_SCHEMAS = frozenset(['file', 'filesystem', 'swift+config'])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user