remove default=None for config options
In the cfg module default=None is set as the default value. Change-Id: I5de0c1ddeeaccde8183ec130c85524f5b57f6f74 Closes-Bug: #1323975
This commit is contained in:
parent
78b498de23
commit
c0fde47499
@ -69,7 +69,7 @@ zmq_opts = [
|
|||||||
cfg.IntOpt('rpc_zmq_contexts', default=1,
|
cfg.IntOpt('rpc_zmq_contexts', default=1,
|
||||||
help='Number of ZeroMQ contexts, defaults to 1.'),
|
help='Number of ZeroMQ contexts, defaults to 1.'),
|
||||||
|
|
||||||
cfg.IntOpt('rpc_zmq_topic_backlog', default=None,
|
cfg.IntOpt('rpc_zmq_topic_backlog',
|
||||||
help='Maximum number of ingress messages to locally buffer '
|
help='Maximum number of ingress messages to locally buffer '
|
||||||
'per topic. Default is unlimited.'),
|
'per topic. Default is unlimited.'),
|
||||||
|
|
||||||
|
@ -32,7 +32,6 @@ matchmaker_redis_opts = [
|
|||||||
default=6379,
|
default=6379,
|
||||||
help='Use this port to connect to redis host.'),
|
help='Use this port to connect to redis host.'),
|
||||||
cfg.StrOpt('password',
|
cfg.StrOpt('password',
|
||||||
default=None,
|
|
||||||
help='Password for Redis server (optional).'),
|
help='Password for Redis server (optional).'),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -37,7 +37,6 @@ from oslo.messaging import exceptions
|
|||||||
|
|
||||||
_transport_opts = [
|
_transport_opts = [
|
||||||
cfg.StrOpt('transport_url',
|
cfg.StrOpt('transport_url',
|
||||||
default=None,
|
|
||||||
help='A URL representing the messaging driver to use and its '
|
help='A URL representing the messaging driver to use and its '
|
||||||
'full configuration. If not set, we fall back to the '
|
'full configuration. If not set, we fall back to the '
|
||||||
'rpc_backend option and driver specific configuration.'),
|
'rpc_backend option and driver specific configuration.'),
|
||||||
|
Loading…
Reference in New Issue
Block a user