From 20493252e260a95fe31b423b6547b39e7029ad65 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 9 Jun 2021 10:59:48 +0200 Subject: [PATCH] lifecycle: fix custom port not being set for postgres healthcheck Signed-off-by: Jens Langhammer --- lifecycle/wait_for_db.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lifecycle/wait_for_db.py b/lifecycle/wait_for_db.py index 462041cfb0..9e2bc8e534 100755 --- a/lifecycle/wait_for_db.py +++ b/lifecycle/wait_for_db.py @@ -32,6 +32,7 @@ while True: user=CONFIG.y("postgresql.user"), password=CONFIG.y("postgresql.password"), host=CONFIG.y("postgresql.host"), + port=int(CONFIG.y("postgresql.port")), ) conn.cursor() break