summaryrefslogtreecommitdiff
path: root/ceilometer/service.py
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2015-02-10 10:50:36 +0100
committerJulien Danjou <julien@danjou.info>2015-02-10 10:50:36 +0100
commitbf05ed2aa6c52cbc870ebba41e8cd4fc4da49f6b (patch)
tree618e97304363a00eef47f96f9202006728a2c651 /ceilometer/service.py
parentb7986706bdce7b9ff5694468d06f6b3f73799de3 (diff)
downloadceilometer-bf05ed2aa6c52cbc870ebba41e8cd4fc4da49f6b.tar.gz
Validate default values in config
This makes sure the default value provided for the configuration options are valid. Change-Id: Idab74f1e1201e2b187bae6de97f88d9b9f6f700e
Diffstat (limited to 'ceilometer/service.py')
-rw-r--r--ceilometer/service.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ceilometer/service.py b/ceilometer/service.py
index 0abfc2b7..30c89d85 100644
--- a/ceilometer/service.py
+++ b/ceilometer/service.py
@@ -115,6 +115,6 @@ def prepare_service(argv=None):
default_log_levels=log_levels)
if argv is None:
argv = sys.argv
- cfg.CONF(argv[1:], project='ceilometer')
+ cfg.CONF(argv[1:], project='ceilometer', validate_default_values=True)
log.setup('ceilometer')
messaging.setup()