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: I69adadc2196a119eb0661ae7a7fd6af607e61689
This commit is contained in:
ChangBo Guo(gcb) 2016-06-28 15:45:12 +08:00
parent 097be4c967
commit 677f967e08
3 changed files with 0 additions and 5 deletions

View File

@ -36,15 +36,12 @@ from ceilometer import keystone_client
API_OPTS = [
cfg.BoolOpt('gnocchi_is_enabled',
default=None,
help=('Set True to disable resource/meter/sample URLs. '
'Default autodetection by querying keystone.')),
cfg.BoolOpt('aodh_is_enabled',
default=None,
help=('Set True to redirect alarms URLs to aodh. '
'Default autodetection by querying keystone.')),
cfg.StrOpt('aodh_url',
default=None,
help=('The endpoint of Aodh to redirect alarms URLs '
'to Aodh API. Default autodetection by querying '
'keystone.')),

View File

@ -42,7 +42,6 @@ OPTS = [
help='Number of notification messages to wait before '
'dispatching them'),
cfg.IntOpt('batch_timeout',
default=None,
help='Number of seconds to wait before dispatching samples'
'when batch_size is not reached (None means indefinitely)'),
]

View File

@ -77,7 +77,6 @@ OPTS = [
help='Number of notification messages to wait before '
'publishing them'),
cfg.IntOpt('batch_timeout',
default=None,
help='Number of seconds to wait before publishing samples'
'when batch_size is not reached (None means indefinitely)'),
]