Skip to content

Commit

Permalink
flake fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
matveyvarg committed Oct 11, 2023
1 parent 617f68e commit d60504d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deker_server_adapters/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,10 @@ def get_collection_adapter(
return ServerCollectionAdapter(self.ctx)

def do_healthcheck(self, ctx: CTX) -> None:
"""Check if server is alive."""
"""Check if server is alive.
:param ctx: App context
"""
response = None
nodes = [*ctx.uri.servers]
while nodes and (response is None or response.status_code != STATUS_OK):
Expand Down

0 comments on commit d60504d

Please sign in to comment.