remove default=None for config options
In the cfg module default=None is set as the default value. Change-Id: I1cacfb21da3f0b8510d76767f9de2f81a8a88063
This commit is contained in:
parent
2bd126bb86
commit
9f2abcfa16
@ -59,7 +59,6 @@ OPTS = [
|
||||
|
||||
POLLING_OPTS = [
|
||||
cfg.StrOpt('partitioning_group_prefix',
|
||||
default=None,
|
||||
deprecated_group='central',
|
||||
help='Work-load partitioning group prefix. Use only if you '
|
||||
'want to run multiple polling agents with different '
|
||||
|
@ -27,7 +27,6 @@ LOG = log.getLogger(__name__)
|
||||
|
||||
OPTS = [
|
||||
cfg.StrOpt('backend_url',
|
||||
default=None,
|
||||
help='The backend URL to use for distributed coordination. If '
|
||||
'left empty, per-deployment central agent and per-host '
|
||||
'compute agent won\'t do workload '
|
||||
|
@ -52,7 +52,6 @@ dispatcher_opts = [
|
||||
deprecated_for_removal=True,
|
||||
help='URL to Gnocchi. default: autodetection'),
|
||||
cfg.StrOpt('archive_policy',
|
||||
default=None,
|
||||
help='The archive policy to use when the dispatcher '
|
||||
'create a new metric.'),
|
||||
cfg.StrOpt('resources_definition_file',
|
||||
|
@ -51,12 +51,10 @@ OPTS = [
|
||||
"in the database for (<= 0 means forever).")),
|
||||
cfg.StrOpt('metering_connection',
|
||||
secret=True,
|
||||
default=None,
|
||||
help='The connection string used to connect to the metering '
|
||||
'database. (if unset, connection is used)'),
|
||||
cfg.StrOpt('event_connection',
|
||||
secret=True,
|
||||
default=None,
|
||||
help='The connection string used to connect to the event '
|
||||
'database. (if unset, connection is used)'),
|
||||
cfg.IntOpt('db2nosql_resource_id_maxlen',
|
||||
|
Loading…
Reference in New Issue
Block a user