From: Sage Weil Date: Mon, 25 Jun 2018 18:31:09 +0000 (-0500) Subject: msg/devicehealth: fix config options X-Git-Tag: v14.0.1~723^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cba41b6f7c10d26c8e7a6d46914af6d2f4a53d2e;p=ceph.git msg/devicehealth: fix config options Signed-off-by: Sage Weil --- diff --git a/src/pybind/mgr/devicehealth/module.py b/src/pybind/mgr/devicehealth/module.py index ab621e3183a..a5a5c300773 100644 --- a/src/pybind/mgr/devicehealth/module.py +++ b/src/pybind/mgr/devicehealth/module.py @@ -14,13 +14,13 @@ from six import iteritems TIME_FORMAT = '%Y%m%d-%H%M%S' DEFAULTS = { - 'enable_monitoring': True, + 'enable_monitoring': str(True), 'scrape_frequency': str(86400), 'retention_period': str(86400*14), 'pool_name': 'device_health_metrics', 'mark_out_threshold': str(86400*14), 'warn_threshold': str(86400*14*2), - 'self_heal': True, + 'self_heal': str(True), } health_messages = {