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:
Mike Fedosin 2015-06-09 18:53:33 +03:00 committed by Darja Shakhray
parent c33fcb17bb
commit 7e65e96ea1
1 changed files with 0 additions and 7 deletions

View File

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