summaryrefslogtreecommitdiff
path: root/oslo_middleware/healthcheck
diff options
context:
space:
mode:
authorDavanum Srinivas <davanum@gmail.com>2015-08-17 07:42:05 -0400
committerDavanum Srinivas <davanum@gmail.com>2015-08-17 08:36:54 -0400
commite458a3f3f4ce136ad4ceac9f5951ae1750c55022 (patch)
treea192ec8fa5f187ee90c76025967bd2bab9fa446e /oslo_middleware/healthcheck
parent1441de4a1ad37823d53f0b11de7fb009b8756392 (diff)
downloadoslo-middleware-e458a3f3f4ce136ad4ceac9f5951ae1750c55022.tar.gz
Do not dump HealthcheckResult class source
If verbose is true, the class definition is printed just before being built. We don't really need to print this into our logs, so we should drop the verbose parameter (as it defaults to False anyway). Closes-Bug: #1482744 Change-Id: Ic6cb7fe9c87151bb0c318d060fd88bb2e1977404
Diffstat (limited to 'oslo_middleware/healthcheck')
-rw-r--r--oslo_middleware/healthcheck/pluginbase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_middleware/healthcheck/pluginbase.py b/oslo_middleware/healthcheck/pluginbase.py
index 8c6e9d4..ffd3e08 100644
--- a/oslo_middleware/healthcheck/pluginbase.py
+++ b/oslo_middleware/healthcheck/pluginbase.py
@@ -19,7 +19,7 @@ import collections
import six
HealthcheckResult = collections.namedtuple(
- 'HealthcheckResult', ['available', 'reason'], verbose=True)
+ 'HealthcheckResult', ['available', 'reason'])
@six.add_metaclass(abc.ABCMeta)