Fix container rss value reported as memory value

This commit is contained in:
Anartz Nuin 2020-09-09 11:00:31 +01:00
parent ed95142104
commit 7002fe7e39

View File

@ -19,7 +19,7 @@ export default function GlancesPluginDockerController($scope, GlancesStats) {
'status': containerData.Status,
'cpu': containerData.cpu.total,
'memory': containerData.memory.usage != undefined ? containerData.memory.usage : '?',
'rss': containerData.memory.rss != undefined ? containerData.memory.usage: '?',
'rss': containerData.memory.rss != undefined ? containerData.memory.rss : '?',
'ior': containerData.io.ior != undefined ? containerData.io.ior : '?',
'iow': containerData.io.iow != undefined ? containerData.io.iow : '?',
'io_time_since_update': containerData.io.time_since_update,