Skip to content

Commit d72482a

Browse files
committed
Fix mismatched malloced/wasted memory data in Live view
1 parent 4f52bef commit d72482a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public/src/js/controllers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ angular.module('gmcadmin.controllers', [])
205205
chartType: 'areaspline'
206206
, plotOptions: { areaspline: { stacking: null } }
207207
, colors: ['#4968AB', '#C84D64']
208-
, dataLabels: ['Used', 'Wasted']
208+
, dataLabels: ['Malloced', 'Wasted']
209209
, maxLength: 30
210210
, unit: ' MB'
211211
, watch: 'memStatsData'
@@ -373,7 +373,7 @@ angular.module('gmcadmin.controllers', [])
373373
wastedMem += slab.Wasted
374374
}
375375
$scope.slabsStats = data.Data
376-
$scope.memStatsData = [unitResize(wastedMem, 'M'), unitResize(mallocedMem, 'M')]
376+
$scope.memStatsData = [unitResize(mallocedMem, 'M'), unitResize(wastedMem, 'M')]
377377
break
378378
}
379379
})

0 commit comments

Comments
 (0)