Don't register options with cfg.CONF at module import

oslo.messaging will only register options with a ConfigOpts object
supplied by the caller.

Change-Id: I18115e9dd5241b1bdfae14671a62328c47125400
This commit is contained in:
Mark McLoughlin 2013-07-23 17:23:13 +01:00
parent 04dd4e1773
commit 37bd6923dc
3 changed files with 0 additions and 6 deletions

View File

@ -54,8 +54,6 @@ amqp_opts = [
help='Auto-delete queues in amqp.'),
]
cfg.CONF.register_opts(amqp_opts)
UNIQUE_ID = '_unique_id'
LOG = logging.getLogger(__name__)

View File

@ -69,8 +69,6 @@ qpid_opts = [
help='Disable Nagle algorithm'),
]
cfg.CONF.register_opts(qpid_opts)
JSON_CONTENT_TYPE = 'application/json; charset=utf8'

View File

@ -94,8 +94,6 @@ kombu_opts = [
]
cfg.CONF.register_opts(kombu_opts)
LOG = rpc_common.LOG