From c5de4c56330c2299995159e44cf2e61ec06fae74 Mon Sep 17 00:00:00 2001 From: Dan Cazacu Date: Tue, 16 Jan 2024 14:46:29 +0200 Subject: [PATCH] Sunstone host capacity should display gathered data --- .../app/tabs/datastores-tab/utils/datastore-capacity-bar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sunstone/public/app/tabs/datastores-tab/utils/datastore-capacity-bar.js b/src/sunstone/public/app/tabs/datastores-tab/utils/datastore-capacity-bar.js index 22fa374601d..d3164bd3fcf 100644 --- a/src/sunstone/public/app/tabs/datastores-tab/utils/datastore-capacity-bar.js +++ b/src/sunstone/public/app/tabs/datastores-tab/utils/datastore-capacity-bar.js @@ -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);