lifecycle: fix confusing success messages in startup healthiness check

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-06-20 21:26:21 +02:00
parent b6267fdf28
commit d56ddb16b1
1 changed files with 2 additions and 4 deletions

View File

@ -51,7 +51,6 @@ while True:
except OperationalError as exc:
sleep(1)
j_print(f"PostgreSQL connection failed, retrying... ({exc})")
finally:
j_print("PostgreSQL connection successful")
REDIS_PROTOCOL_PREFIX = "redis://"
@ -70,7 +69,6 @@ while True:
except RedisError as exc:
sleep(1)
j_print(f"Redis Connection failed, retrying... ({exc})", redis_url=REDIS_URL)
finally:
j_print("Redis Connection successful")
j_print("Finished authentik bootstrap")