Skip to content

Commit

Permalink
condition for http is not required.
Browse files Browse the repository at this point in the history
  • Loading branch information
ankit864 committed Jan 20, 2025
1 parent 106753b commit c06a2e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paasta_tools/cli/cmds/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def get_smartstack_endpoints(service, soa_dir):
service, full_name=False, soa_dir=soa_dir
):
mode = config.get("mode", "http")
url_scheme = "http" if mode in ["http", "http2"] else mode
url_scheme = "http" if mode == "http2" else mode
port = config.get("proxy_port")
endpoints.append(f"{url_scheme}://169.254.255.254:{port} ({name})")
return endpoints
Expand Down

0 comments on commit c06a2e9

Please sign in to comment.