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:
parent
04dd4e1773
commit
37bd6923dc
|
@ -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__)
|
||||
|
||||
|
|
|
@ -69,8 +69,6 @@ qpid_opts = [
|
|||
help='Disable Nagle algorithm'),
|
||||
]
|
||||
|
||||
cfg.CONF.register_opts(qpid_opts)
|
||||
|
||||
JSON_CONTENT_TYPE = 'application/json; charset=utf8'
|
||||
|
||||
|
||||
|
|
|
@ -94,8 +94,6 @@ kombu_opts = [
|
|||
|
||||
]
|
||||
|
||||
cfg.CONF.register_opts(kombu_opts)
|
||||
|
||||
LOG = rpc_common.LOG
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue