Skip to content

Commit

Permalink
fix: fix the way endpoints are printed (#5884)
Browse files Browse the repository at this point in the history
Signed-off-by: Joan Fontanals Martinez <joan.martinez@jina.ai>
Co-authored-by: Jina Dev Bot <dev-bot@jina.ai>
  • Loading branch information
JoanFM and jina-bot committed May 18, 2023
1 parent f55ae50 commit 2ef767b
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 @@ -560,6 +560,9 @@ 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 @@ -1747,7 +1750,6 @@ def _get_summary_table(self, all_panels: List[Panel]):
if ProtocolType.HTTP.to_string().lower() in [p.lower() for p in _protocols]:

http_ext_table = self._init_table()
print(f' {swagger_ui_link}')
http_ext_table.add_row(':speech_balloon:', 'Swagger UI', swagger_ui_link)

http_ext_table.add_row(':books:', 'Redoc', redoc_link)
Expand Down

0 comments on commit 2ef767b

Please sign in to comment.