Commit ad3fc0d6 authored by Dietmar Maurer's avatar Dietmar Maurer

use format_size to display ceph storage sizes

parent 6c21cef9
......@@ -819,9 +819,9 @@ Ext.define('PVE.node.CephStatus', {
});
txt += '; ';
txt += d.data_bytes + " bytes data, ";
txt += d.bytes_used + " bytes used, ";
txt += d.bytes_avail + " bytes avail";
txt += PVE.Utils.format_size(d.data_bytes) + " data, ";
txt += PVE.Utils.format_size(d.bytes_used) + " used, ";
txt += PVE.Utils.format_size(d.bytes_avail) + " avail";
return txt;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment