summaryrefslogtreecommitdiffstats
path: root/roles/openshift_health_checker/openshift_checks/logging/logging.py
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-08-09 08:35:05 -0400
committerGitHub <noreply@github.com>2017-08-09 08:35:05 -0400
commit6528031d5ec24d62ffe28687bb134bc1237f0210 (patch)
tree0f5a39f269e355fe1cb6ac53204c32d513b12fc5 /roles/openshift_health_checker/openshift_checks/logging/logging.py
parent57db37245e12a190030b4a7075251f37cd83665b (diff)
parent4e6bf287d97aaa254aeb8cf1d83b2229fee7a19f (diff)
downloadopenshift-6528031d5ec24d62ffe28687bb134bc1237f0210.tar.gz
openshift-6528031d5ec24d62ffe28687bb134bc1237f0210.tar.bz2
openshift-6528031d5ec24d62ffe28687bb134bc1237f0210.tar.xz
openshift-6528031d5ec24d62ffe28687bb134bc1237f0210.zip
Merge pull request #4922 from sosiouxme/20170728-improve-get-vars
openshift_checks: enable variable conversion
Diffstat (limited to 'roles/openshift_health_checker/openshift_checks/logging/logging.py')
-rw-r--r--roles/openshift_health_checker/openshift_checks/logging/logging.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_health_checker/openshift_checks/logging/logging.py b/roles/openshift_health_checker/openshift_checks/logging/logging.py
index 3b7c39760..ecd8adb64 100644
--- a/roles/openshift_health_checker/openshift_checks/logging/logging.py
+++ b/roles/openshift_health_checker/openshift_checks/logging/logging.py
@@ -27,7 +27,7 @@ class LoggingCheck(OpenShiftCheck):
name = "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):