Skip to content
Snippets Groups Projects
Commit 2dd34334 authored by Alexander Aghili's avatar Alexander Aghili
Browse files

add get_view back

parent 0116377b
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,9 @@ class ClusterNode:
)
networks: List[str] # networks the container is attached to
def get_view(self) -> str:
return {"address": f"{self.ip}:{self.port}", "id": self.index}
def internal_endpoint(self) -> str:
return f"http://{self.ip}:{self.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