[pve-devel] [PATCH manager] ui: remove sum for percentages of ceph pools

Dominik Csapak d.csapak at proxmox.com
Fri Nov 13 13:01:12 CET 2020


because different pools can have different crush rules, etc.
the sum of the 'percentage used' column makes no real sense, so we
remove it

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/ceph/Pool.js | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/www/manager6/ceph/Pool.js b/www/manager6/ceph/Pool.js
index 11bcf9d5..271dcc3c 100644
--- a/www/manager6/ceph/Pool.js
+++ b/www/manager6/ceph/Pool.js
@@ -164,10 +164,6 @@ Ext.define('PVE.node.CephPoolList', {
 			return Ext.util.Format.percent(val, '0.00');
 		    },
 		    dataIndex: 'percent_used',
-		    summaryType: 'sum',
-		    summaryRenderer: function(val) {
-			return Ext.util.Format.percent(val, '0.00');
-		    },
 		},
 		{
 		    text: gettext('Total'),
-- 
2.20.1






More information about the pve-devel mailing list