Config: no need to set default=None
By default oslo.cfg sets the default value as None. There is no need to explicitly do this. TrivialFix Change-Id: I0e17a86084feb2767110b3cc38ce0c5ef47019a2
This commit is contained in:
parent
c9e1a1aabc
commit
34fcf4aff8
@ -35,12 +35,10 @@ data_helper_opts = [
|
|||||||
"when migrating a share (seconds)."),
|
"when migrating a share (seconds)."),
|
||||||
cfg.StrOpt(
|
cfg.StrOpt(
|
||||||
'data_node_access_ip',
|
'data_node_access_ip',
|
||||||
default=None,
|
|
||||||
help="The IP of the node interface connected to the admin network. "
|
help="The IP of the node interface connected to the admin network. "
|
||||||
"Used for allowing access to the mounting shares."),
|
"Used for allowing access to the mounting shares."),
|
||||||
cfg.StrOpt(
|
cfg.StrOpt(
|
||||||
'data_node_access_cert',
|
'data_node_access_cert',
|
||||||
default=None,
|
|
||||||
help="The certificate installed in the data node in order to "
|
help="The certificate installed in the data node in order to "
|
||||||
"allow access to certificate authentication-based shares."),
|
"allow access to certificate authentication-based shares."),
|
||||||
|
|
||||||
|
@ -106,7 +106,6 @@ share_opts = [
|
|||||||
# Replication option/s
|
# Replication option/s
|
||||||
cfg.StrOpt(
|
cfg.StrOpt(
|
||||||
"replication_domain",
|
"replication_domain",
|
||||||
default=None,
|
|
||||||
help="A string specifying the replication domain that the backend "
|
help="A string specifying the replication domain that the backend "
|
||||||
"belongs to. This option needs to be specified the same in the "
|
"belongs to. This option needs to be specified the same in the "
|
||||||
"configuration sections of all backends that support "
|
"configuration sections of all backends that support "
|
||||||
|
Loading…
Reference in New Issue
Block a user