diff options
author | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2017-08-31 15:03:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-31 15:03:13 +0200 |
commit | 404fe1f41182c5901287123da1fd1dc356d7686f (patch) | |
tree | fc60504e9a1a82f61b823a09db38c0ac92d86fdc /roles | |
parent | 4436451212ce5d5cc43fcafee13ea7e344997f27 (diff) | |
parent | ce0dec20082fb591e98de1568420b26287f25881 (diff) | |
download | openshift-404fe1f41182c5901287123da1fd1dc356d7686f.tar.gz openshift-404fe1f41182c5901287123da1fd1dc356d7686f.tar.bz2 openshift-404fe1f41182c5901287123da1fd1dc356d7686f.tar.xz openshift-404fe1f41182c5901287123da1fd1dc356d7686f.zip |
Merge pull request #5271 from sosiouxme/20170830-disk-avail-bug
disk_availability: fix bug where msg is overwritten
Diffstat (limited to 'roles')
-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 {} |