From ffc2a6ee1b8479bdf703e5519bf25fda649f4c7c Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 9 Jul 2019 10:47:56 -0400 Subject: [PATCH] Fix display bug --- client-common/ceph.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client-common/ceph.py b/client-common/ceph.py index 6fa7aac5..bc44ff71 100644 --- a/client-common/ceph.py +++ b/client-common/ceph.py @@ -632,8 +632,8 @@ Wr: {osd_wrops: <{osd_wrops_length}} \ osd_reweight=osd_information['stats']['reweight'], osd_used=osd_information['stats']['used'], osd_free=osd_information['stats']['avail'], - osd_util=round(osd_information['stats']['utilization'], 2), - osd_var=osd_information['stats']['var'], + osd_util=osd_util, + osd_var=osd_var, osd_wrops=osd_information['stats']['wr_ops'], osd_wrdata=osd_information['stats']['wr_data'], osd_rdops=osd_information['stats']['rd_ops'],