summaryrefslogtreecommitdiffstats
path: root/roles/openshift_health_checker
diff options
context:
space:
mode:
authorLuke Meyer <lmeyer@redhat.com>2017-08-28 20:45:08 -0400
committerLuke Meyer <lmeyer@redhat.com>2017-08-30 15:13:02 -0400
commitce0dec20082fb591e98de1568420b26287f25881 (patch)
treedf0eadb59e25cbaa98a5219b4d0edff44810a1ac /roles/openshift_health_checker
parenteedee4481030c8a34c27e7c426671e508f0f8909 (diff)
downloadopenshift-ce0dec20082fb591e98de1568420b26287f25881.tar.gz
openshift-ce0dec20082fb591e98de1568420b26287f25881.tar.bz2
openshift-ce0dec20082fb591e98de1568420b26287f25881.tar.xz
openshift-ce0dec20082fb591e98de1568420b26287f25881.zip
disk_availability: fix bug where msg is overwritten
Diffstat (limited to 'roles/openshift_health_checker')
-rw-r--r--roles/openshift_health_checker/openshift_checks/disk_availability.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/roles/openshift_health_checker/openshift_checks/disk_availability.py b/roles/openshift_health_checker/openshift_checks/disk_availability.py
index 6d1dea9ce..f302fd14b 100644
--- a/roles/openshift_health_checker/openshift_checks/disk_availability.py
+++ b/roles/openshift_health_checker/openshift_checks/disk_availability.py
@@ -115,10 +115,7 @@ class DiskAvailability(OpenShiftCheck):
return {
'failed': True,
- 'msg': (
- 'Available disk space in "{}" ({:.1f} GB) '
- 'is below minimum recommended ({:.1f} GB)'
- ).format(path, free_gb, recommended_gb)
+ 'msg': msg,
}
return {}