From 7e65e96ea1d8b2d7b891c9a6cfd12d504cc502b2 Mon Sep 17 00:00:00 2001 From: Mike Fedosin Date: Tue, 9 Jun 2015 18:53:33 +0300 Subject: [PATCH] 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 --- glance/common/store_utils.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/glance/common/store_utils.py b/glance/common/store_utils.py index a8db5c1776..da2195801a 100644 --- a/glance/common/store_utils.py +++ b/glance/common/store_utils.py @@ -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'])