From 7f14698824cb768494c8a00492263be71b31617e Mon Sep 17 00:00:00 2001 From: Moritz Date: Mon, 6 May 2024 11:31:40 +0200 Subject: [PATCH] change loglever to warning for not running container --- backupbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backupbot.py b/backupbot.py index 2e4e57d..7ab3e0c 100755 --- a/backupbot.py +++ b/backupbot.py @@ -150,7 +150,7 @@ def copy_secrets(apps): if (app_name in apps and (app_secs := s.attrs['Spec']['TaskTemplate']['ContainerSpec'].get('Secrets'))): if not container_by_service.get(s.name): - logger.error( + logger.warning( f"Container {s.name} is not running, secrets can not be copied.") continue container_id = container_by_service[s.name].id