Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix the way endpoints are printed #5884

Merged
merged 3 commits into from
May 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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 @@
args.graph_description = (
'{"start-gateway": ["executor"], "executor": ["end-gateway"]}'
)
_update_gateway_args(

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

View check run for this annotation

Codecov / codecov/patch

jina/orchestrate/deployments/__init__.py#L563

Added line #L563 was not covered by tests
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 @@
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