From 71afcfc3c082915756042052661f0aad08a0544b Mon Sep 17 00:00:00 2001 From: nicolargo Date: Sat, 28 Oct 2017 13:25:11 +0200 Subject: [PATCH] Correct an issue on Docker Status --- glances/plugins/glances_docker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glances/plugins/glances_docker.py b/glances/plugins/glances_docker.py index 56afce62..dd2fd4b4 100644 --- a/glances/plugins/glances_docker.py +++ b/glances/plugins/glances_docker.py @@ -509,7 +509,7 @@ class Plugin(GlancesPlugin): max_width=name_max_width))) # Status status = self.container_alert(container['Status']) - msg = '{:>10}'.format(msg[0:10]) + msg = '{:>10}'.format(container['Status'][0:10]) ret.append(self.curse_add_line(msg, status)) # CPU try: