Skip to content

Commit

Permalink
style: fix overload and cli autocomplete
Browse files Browse the repository at this point in the history
Signed-off-by: Joan Fontanals Martinez <joan.martinez@jina.ai>
  • Loading branch information
jina-bot authored and JoanFM committed May 18, 2023
1 parent 70c8bdb commit 975cba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jina/orchestrate/deployments/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ def __init__(
args.graph_description = (
'{"start-gateway": ["executor"], "executor": ["end-gateway"]}'
)
_update_gateway_args(args, gateway_load_balancer=self._gateway_load_balancer)
self.pod_args['gateway'] = args
else:
self.pod_args['gateway'] = None
Expand Down Expand Up @@ -1129,7 +1130,6 @@ def start(self) -> 'Deployment':
self.enter_context(self.head_pod)
if self._include_gateway:
_args = self.pod_args['gateway']
_update_gateway_args(_args, gateway_load_balancer=getattr(_args, 'gateway_load_balancer', False))
_args.noblock_on_start = True
self.gateway_pod = PodFactory.build_pod(
_args, gateway_load_balancer=self._gateway_load_balancer
Expand Down

0 comments on commit 975cba5

Please sign in to comment.