remove default=None for config options
In the cfg module default=None is set as the default value. Change-Id: I2c717e39d7b5d9c80d1e5556f029f6aea0d290fe Closes-bug: #1323975
This commit is contained in:
parent
46bc9f904e
commit
1ea192935a
@ -56,12 +56,10 @@ LOG = log.getLogger(__name__)
|
|||||||
|
|
||||||
ALARM_API_OPTS = [
|
ALARM_API_OPTS = [
|
||||||
cfg.IntOpt('user_alarm_quota',
|
cfg.IntOpt('user_alarm_quota',
|
||||||
default=None,
|
|
||||||
deprecated_group="alarm",
|
deprecated_group="alarm",
|
||||||
help='Maximum number of alarms defined for a user.'
|
help='Maximum number of alarms defined for a user.'
|
||||||
),
|
),
|
||||||
cfg.IntOpt('project_alarm_quota',
|
cfg.IntOpt('project_alarm_quota',
|
||||||
default=None,
|
|
||||||
deprecated_group="alarm",
|
deprecated_group="alarm",
|
||||||
help='Maximum number of alarms defined for a project.'
|
help='Maximum number of alarms defined for a project.'
|
||||||
),
|
),
|
||||||
|
@ -26,7 +26,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 '
|
||||||
|
@ -36,7 +36,6 @@ OPTS = [
|
|||||||
"in the database for (<= 0 means forever).")),
|
"in the database for (<= 0 means forever).")),
|
||||||
cfg.StrOpt('alarm_connection',
|
cfg.StrOpt('alarm_connection',
|
||||||
secret=True,
|
secret=True,
|
||||||
default=None,
|
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
help='The connection string used to connect '
|
help='The connection string used to connect '
|
||||||
'to the alarm database - rather use ${database.connection}'),
|
'to the alarm database - rather use ${database.connection}'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user