From ee6dc45a307fb0302754e331978dfd66aac01f62 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 12 Nov 2022 16:50:01 +0100 Subject: [PATCH] lifecycle: fix incorrect messages looped Signed-off-by: Jens Langhammer --- lifecycle/wait_for_db.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lifecycle/wait_for_db.py b/lifecycle/wait_for_db.py index 2235b81cf..47584e8b6 100755 --- a/lifecycle/wait_for_db.py +++ b/lifecycle/wait_for_db.py @@ -35,7 +35,7 @@ while True: except OperationalError as exc: sleep(1) CONFIG.log("info", f"PostgreSQL connection failed, retrying... ({exc})") - CONFIG.log("info", "PostgreSQL connection successful") +CONFIG.log("info", "PostgreSQL connection successful") REDIS_PROTOCOL_PREFIX = "redis://" if CONFIG.y_bool("redis.tls", False): @@ -53,6 +53,6 @@ while True: except RedisError as exc: sleep(1) CONFIG.log("info", f"Redis Connection failed, retrying... ({exc})", redis_url=REDIS_URL) - CONFIG.log("info", "Redis Connection successful") +CONFIG.log("info", "Redis Connection successful") CONFIG.log("info", "Finished authentik bootstrap")