Remove default=None when set value in Config
By default oslo.cfg sets the default values as None [1], There is no need to explicitly do this. [1] https://github.com/openstack/oslo.config/blob/master/oslo_config/cfg.py#L829 Change-Id: I032f1044ab96b04f0ea1f66762a832c305280522
This commit is contained in:
parent
ae365cb688
commit
4b1ac84e3f
@ -191,7 +191,6 @@ amqp1_opts = [
|
||||
" consumers."),
|
||||
|
||||
cfg.StrOpt('default_notification_exchange',
|
||||
default=None,
|
||||
help="Exchange name used in notification addresses.\n"
|
||||
"Exchange name resolution precedence:\n"
|
||||
"Target.exchange if set\n"
|
||||
@ -200,7 +199,6 @@ amqp1_opts = [
|
||||
"else 'notify'"),
|
||||
|
||||
cfg.StrOpt('default_rpc_exchange',
|
||||
default=None,
|
||||
help="Exchange name used in RPC addresses.\n"
|
||||
"Exchange name resolution precedence:\n"
|
||||
"Target.exchange if set\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user