[pve-devel] [PATCH pve-manager 7/8] format cpu load value better

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Sep 23 17:54:45 CEST 2015


Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 www/mobile/NodeSummary.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/mobile/NodeSummary.js b/www/mobile/NodeSummary.js
index 94de3c9..4405b74 100644
--- a/www/mobile/NodeSummary.js
+++ b/www/mobile/NodeSummary.js
@@ -84,13 +84,13 @@ Ext.define('PVE.NodeSummary', {
 			    if (!values.uptime) {
 				return '-';
 			    }
-			    return PVE.Utils.format_size(values.mem)
+			    return PVE.Utils.format_size(values.mem);
 			},
 			cpuinfo: function(values) {
 			    if (!values.uptime) {
 				return '-';
 			    }
-			    return (values.cpu*100).toFixed(1);
+			    return (values.cpu*100).toFixed(1) + '%';
 			}
 		    }
 		]
-- 
2.1.4




More information about the pve-devel mailing list