From 3b659ab076279f2aaa8859c6cf83a45f8f445f60 Mon Sep 17 00:00:00 2001 From: mco-system Date: Sat, 27 May 2023 14:31:24 +1100 Subject: [PATCH] feat: status page + maintenance --- maintenance/status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/status.py b/maintenance/status.py index a174ab1..78a23df 100644 --- a/maintenance/status.py +++ b/maintenance/status.py @@ -15,5 +15,5 @@ for container in client.containers.list(): cont = dict() cont["name"] = container.name cont["status"] = container.status - cont["log"] = container.logs().decode('utf-8').replace('\n', '
') + cont["logs"] = container.logs().decode('utf-8').replace('\n', '
') print(template.render(containers=[cont]))