mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-09 14:03:20 +09:00
Sunstone host capacity should display gathered data
This commit is contained in:
1 parent
339f9c9fd6
commit
c5de4c5633
1 file changed
+1
-1
@@ -27,7 +27,7 @@ define(function(require) {
|
||||
*/
|
||||
var _html = function(info) {
|
||||
var total = parseInt(info.TOTAL_MB);
|
||||
var used = total - parseInt(info.FREE_MB);
|
||||
var used = parseInt(info.USED_MB);
|
||||
|
||||
if (total > 0) {
|
||||
var ratio = Math.round((used / total) * 100);
|
||||
|
||||
Reference in new issue
Block a user