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:
Qiaowei Ren 2016-02-16 20:50:03 +08:00
parent 2bd126bb86
commit 9f2abcfa16
4 changed files with 0 additions and 5 deletions

View File

@ -59,7 +59,6 @@ OPTS = [
POLLING_OPTS = [ POLLING_OPTS = [
cfg.StrOpt('partitioning_group_prefix', cfg.StrOpt('partitioning_group_prefix',
default=None,
deprecated_group='central', deprecated_group='central',
help='Work-load partitioning group prefix. Use only if you ' help='Work-load partitioning group prefix. Use only if you '
'want to run multiple polling agents with different ' 'want to run multiple polling agents with different '

View File

@ -27,7 +27,6 @@ LOG = log.getLogger(__name__)
OPTS = [ OPTS = [
cfg.StrOpt('backend_url', cfg.StrOpt('backend_url',
default=None,
help='The backend URL to use for distributed coordination. If ' help='The backend URL to use for distributed coordination. If '
'left empty, per-deployment central agent and per-host ' 'left empty, per-deployment central agent and per-host '
'compute agent won\'t do workload ' 'compute agent won\'t do workload '

View File

@ -52,7 +52,6 @@ dispatcher_opts = [
deprecated_for_removal=True, deprecated_for_removal=True,
help='URL to Gnocchi. default: autodetection'), help='URL to Gnocchi. default: autodetection'),
cfg.StrOpt('archive_policy', cfg.StrOpt('archive_policy',
default=None,
help='The archive policy to use when the dispatcher ' help='The archive policy to use when the dispatcher '
'create a new metric.'), 'create a new metric.'),
cfg.StrOpt('resources_definition_file', cfg.StrOpt('resources_definition_file',

View File

@ -51,12 +51,10 @@ OPTS = [
"in the database for (<= 0 means forever).")), "in the database for (<= 0 means forever).")),
cfg.StrOpt('metering_connection', cfg.StrOpt('metering_connection',
secret=True, secret=True,
default=None,
help='The connection string used to connect to the metering ' help='The connection string used to connect to the metering '
'database. (if unset, connection is used)'), 'database. (if unset, connection is used)'),
cfg.StrOpt('event_connection', cfg.StrOpt('event_connection',
secret=True, secret=True,
default=None,
help='The connection string used to connect to the event ' help='The connection string used to connect to the event '
'database. (if unset, connection is used)'), 'database. (if unset, connection is used)'),
cfg.IntOpt('db2nosql_resource_id_maxlen', cfg.IntOpt('db2nosql_resource_id_maxlen',