diff options
| author | Luke Meyer <lmeyer@redhat.com> | 2017-08-28 20:45:08 -0400 |
|---|---|---|
| committer | Luke Meyer <lmeyer@redhat.com> | 2017-08-30 15:13:02 -0400 |
| commit | ce0dec20082fb591e98de1568420b26287f25881 (patch) | |
| tree | df0eadb59e25cbaa98a5219b4d0edff44810a1ac | |
| parent | eedee4481030c8a34c27e7c426671e508f0f8909 (diff) | |
disk_availability: fix bug where msg is overwritten
| -rw-r--r-- | roles/openshift_health_checker/openshift_checks/disk_availability.py | 5 |
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 {} |
