From 10e9bde9ce4bba8c65829613cc66c3ef95ee62b7 Mon Sep 17 00:00:00 2001 From: Dragomir Penev Date: Mon, 1 Apr 2024 13:55:28 +0300 Subject: [PATCH] Handle get patroni health exception --- src/cluster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cluster.py b/src/cluster.py index d4ae2ac873..ea234f5f95 100644 --- a/src/cluster.py +++ b/src/cluster.py @@ -313,7 +313,7 @@ def get_patroni_health(self) -> Dict[str, str]: timeout=API_REQUEST_TIMEOUT, ) - return r.json() + return r.json() @property def is_creating_backup(self) -> bool: