Skip to content

Commit

Permalink
style: fix overload and cli autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
jina-bot committed Nov 30, 2023
1 parent 198124c commit ce559ee
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions jina/orchestrate/deployments/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,7 @@ async def _async_call_add_voters(leader, voters, replica_ids, logger):
success = False
for i in range(5):
logger.debug(f'Trying {i}th time')
success = await async_call_add_voter(
leader, str(replica_id), voter_address
)
success = await async_call_add_voter(leader, str(replica_id), voter_address)
if success:
logger.debug(f'Trying {i}th time succeeded')
break

Check warning on line 124 in jina/orchestrate/deployments/__init__.py

View check run for this annotation

Codecov / codecov/patch

jina/orchestrate/deployments/__init__.py#L118-L124

Added lines #L118 - L124 were not covered by tests
Expand Down

0 comments on commit ce559ee

Please sign in to comment.