TrivialFix: Remove default=None when set defaul 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: I65fbfdf20ca98441cc88b2a62b5029001144e31d
This commit is contained in:
Luong Anh Tuan 2016-09-27 11:05:43 +07:00 committed by Tuan Luong-Anh
parent e34d9f52ba
commit ac8b894d4b
2 changed files with 0 additions and 3 deletions

View File

@ -35,7 +35,6 @@ neutron_network_plugin_opts = [
help="The name of the physical network to determine which net segment "
"is used. This opt is optional and will only be used for "
"networks configured with multiple segments.",
default=None,
deprecated_group='DEFAULT'),
]

View File

@ -124,11 +124,9 @@ share_opts = [
"specified in the group, it means that replication is not "
"enabled on the backend."),
cfg.StrOpt('filter_function',
default=None,
help='String representation for an equation that will be '
'used to filter hosts.'),
cfg.StrOpt('goodness_function',
default=None,
help='String representation for an equation that will be '
'used to determine the goodness of a host.'),
]