Skip to content

Commit 1cf07c3

Browse files
Dan Cazacursmontero
Dan Cazacu
authored andcommitted
M #-: Sunstone host capacity should display gathered data
(cherry picked from commit c5de4c5)
1 parent 287d049 commit 1cf07c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sunstone/public/app/tabs/datastores-tab/utils/datastore-capacity-bar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ define(function(require) {
2727
*/
2828
var _html = function(info) {
2929
var total = parseInt(info.TOTAL_MB);
30-
var used = total - parseInt(info.FREE_MB);
30+
var used = parseInt(info.USED_MB);
3131

3232
if (total > 0) {
3333
var ratio = Math.round((used / total) * 100);

0 commit comments

Comments
 (0)