Skip to content

Commit

Permalink
fix: Use ContainerRegistry's hostname as Relay node ID
Browse files Browse the repository at this point in the history
  • Loading branch information
rapsealk committed Oct 18, 2023
1 parent dec5284 commit 01a693b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ai/backend/manager/models/etcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ class Meta:
@classmethod
def from_row(cls, hostname: str, config: Mapping[str, str | list | None]) -> ContainerRegistry:
return cls(
id=hostname,
hostname=hostname,
config=ContainerRegistryConfig(
url=config.get(""),
Expand Down

0 comments on commit 01a693b

Please sign in to comment.