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 May 10, 2023
1 parent 57a18f3 commit e10211c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jina/orchestrate/deployments/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,9 @@ def start(self) -> 'Deployment':
deployment_args=self.args,
args=self.pod_args['pods'][shard_id],
head_pod=self.head_pod,
name=f'{self.name}-replica-set-{shard_id}' if num_shards > 1 else f'{self.name}-replica-set',
name=f'{self.name}-replica-set-{shard_id}'
if num_shards > 1
else f'{self.name}-replica-set',
)
self.enter_context(self.shards[shard_id])

Expand Down

0 comments on commit e10211c

Please sign in to comment.