From e458a3f3f4ce136ad4ceac9f5951ae1750c55022 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Mon, 17 Aug 2015 07:42:05 -0400 Subject: 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 --- oslo_middleware/healthcheck/pluginbase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1