Commit 4cb22ae3 authored by qhoangxuan's avatar qhoangxuan

change proxy address

parent 222d8e4d
......@@ -193,7 +193,7 @@ class Service:
def proxy_address(self):
"""Get proxy address path"""
if len(self.ports) > 0:
return get_conf().proxy_path + "/" + self.user_id + "/" + str(self.execution_id) + "/" + self.name
return self.name + "-" + str(self.execution_id) + "-" + get_conf().deployment_name + "." + get_conf().proxy_path
else:
return None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment