Skip to content

Commit

Permalink
remove extra port address
Browse files Browse the repository at this point in the history
  • Loading branch information
hamzaimran08 committed Nov 29, 2023
1 parent 1870610 commit bbb4a03
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions serve-python/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,5 @@ def _get_ip(container):

def _get_api_url(container):
"""Gets the correct adress for inference."""
url = "http://{}:{}".format(_get_ip(container), PORTS[1])
return url


def _get_gRPC_url(container):
"""Gets the correct adress for torchserve management."""
url = "http://{}:{}}".format(_get_ip(container), PORTS[0])
url = "http://{}:{}".format(_get_ip(container), PORTS[0])
return url

0 comments on commit bbb4a03

Please sign in to comment.