change loglever to warning for not running container
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Moritz 2024-05-06 11:31:40 +02:00
parent 2a9a98172f
commit 7f14698824
1 changed files with 1 additions and 1 deletions

View File

@ -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