From 4e6bf287d97aaa254aeb8cf1d83b2229fee7a19f Mon Sep 17 00:00:00 2001 From: Luke Meyer Date: Fri, 28 Jul 2017 07:19:24 -0400 Subject: openshift_checks: enable variable conversion --- roles/openshift_health_checker/openshift_checks/logging/logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/openshift_health_checker/openshift_checks/logging') diff --git a/roles/openshift_health_checker/openshift_checks/logging/logging.py b/roles/openshift_health_checker/openshift_checks/logging/logging.py index 43ba6c406..090aaf3c4 100644 --- a/roles/openshift_health_checker/openshift_checks/logging/logging.py +++ b/roles/openshift_health_checker/openshift_checks/logging/logging.py @@ -18,7 +18,7 @@ class LoggingCheck(OpenShiftCheck): logging_namespace = "logging" def is_active(self): - logging_deployed = self.get_var("openshift_hosted_logging_deploy", default=False) + logging_deployed = self.get_var("openshift_hosted_logging_deploy", convert=bool, default=False) return logging_deployed and super(LoggingCheck, self).is_active() and self.is_first_master() def is_first_master(self): -- cgit v1.2.3