[pve-devel] [PATCH manager 05/15] gui: ceph: add 'old' to ceph health

Dominik Csapak d.csapak at proxmox.com
Mon May 27 14:13:56 CEST 2019


this will be used for the dashboard to show outdated services/osds

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

diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js
index 67e461f5..87457078 100644
--- a/www/manager6/Utils.js
+++ b/www/manager6/Utils.js
@@ -83,6 +83,9 @@ Ext.define('PVE.Utils', { utilities: {
 	    case 'good':
 		icon = 'good fa-check';
 		break;
+	    case 'old':
+		icon = 'warning fa-refresh';
+		break;
 	    case 'warning':
 		icon = 'warning fa-exclamation';
 		break;
@@ -101,6 +104,7 @@ Ext.define('PVE.Utils', { utilities: {
 
     map_ceph_health: {
 	'HEALTH_OK':'good',
+	'HEALTH_OLD':'old',
 	'HEALTH_WARN':'warning',
 	'HEALTH_ERR':'critical'
     },
-- 
2.11.0





More information about the pve-devel mailing list