summaryrefslogtreecommitdiff
path: root/oslo_middleware
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-11-29 15:10:33 +0000
committerGerrit Code Review <review@openstack.org>2016-11-29 15:10:33 +0000
commit78bffce487935845bc932e91211b6429a7aba2a1 (patch)
treef975b8490386fd2064892afea7203e26ad799ace /oslo_middleware
parent18cc2206ac576ea35a8cefb416b941068bddfd16 (diff)
parent5f1941df4a521642c6cc2afeb9f1a5ad7c4187d8 (diff)
downloadoslo-middleware-78bffce487935845bc932e91211b6429a7aba2a1.tar.gz
Merge "Document how to use detailed mode in healthcheck"3.21.0
Diffstat (limited to 'oslo_middleware')
-rw-r--r--oslo_middleware/healthcheck/disable_by_file.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/oslo_middleware/healthcheck/disable_by_file.py b/oslo_middleware/healthcheck/disable_by_file.py
index 1b3ffa3..c1eafa8 100644
--- a/oslo_middleware/healthcheck/disable_by_file.py
+++ b/oslo_middleware/healthcheck/disable_by_file.py
@@ -40,6 +40,8 @@ class DisableByFilesPortsHealthcheck(pluginbase.HealthcheckBaseExtension):
backends = disable_by_files_ports
disable_by_file_paths = 5000:/var/run/keystone/healthcheck_disable, \
35357:/var/run/keystone/admin_healthcheck_disable
+ # set to True to enable detailed output, False is the default
+ detailed = False
"""
def __init__(self, *args, **kwargs):
@@ -93,6 +95,8 @@ class DisableByFileHealthcheck(pluginbase.HealthcheckBaseExtension):
path = /healthcheck
backends = disable_by_file
disable_by_file_path = /var/run/nova/healthcheck_disable
+ # set to True to enable detailed output, False is the default
+ detailed = False
"""
def __init__(self, *args, **kwargs):