From 7002fe7e39b18641b6577376cb1b0c039dac09cf Mon Sep 17 00:00:00 2001 From: Anartz Nuin Date: Wed, 9 Sep 2020 11:00:31 +0100 Subject: [PATCH] Fix container rss value reported as memory value --- .../outputs/static/js/components/plugin-docker/controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glances/outputs/static/js/components/plugin-docker/controller.js b/glances/outputs/static/js/components/plugin-docker/controller.js index 05bd8a6e..bee570eb 100644 --- a/glances/outputs/static/js/components/plugin-docker/controller.js +++ b/glances/outputs/static/js/components/plugin-docker/controller.js @@ -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,