Skip to content

Commit

Permalink
Handle get patroni health exception
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomirp committed Apr 1, 2024
1 parent 7ec5f9b commit 10e9bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 10e9bde

Please sign in to comment.