Skip to content
Snippets Groups Projects
Commit 5fee1c39 authored by qweqweasdasd's avatar qweqweasdasd
Browse files

Fixed port type

parent 2b6adbfc
No related branches found
No related tags found
1 merge request!5Fixed port type
Pipeline #85167 passed
......@@ -392,9 +392,9 @@ def import_dep_info(file_path, endpoints_to_scan):
else:
host = url
if prefix == "https":
port = 443
port = '443'
elif prefix == 'http':
port = 80
port = '80'
else:
raise Exception(f"Impossible to parse the endpoint port. Endpoint: {endpoint}")
print(f"Endpoint: {host}:{port}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment