Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

fix(ai): pass correct identifiers to Docker container discovery (#1315)

rcourtman3a263bc4f0c6
diff --git a/frontend-modern/src/components/Docker/DockerUnifiedTable.tsx b/frontend-modern/src/components/Docker/DockerUnifiedTable.tsx
index 26d79c9031..15decf751b 100644
--- a/frontend-modern/src/components/Docker/DockerUnifiedTable.tsx
+++ b/frontend-modern/src/components/Docker/DockerUnifiedTable.tsx
@@ -1683,8 +1683,8 @@ const DockerContainerRow: Component<{
<Show when={activeTab() === 'discovery'}>
<DiscoveryTab
resourceType="docker"
- hostId={host.id}
- resourceId={container.id}
+ hostId={host.agentId || host.id}
+ resourceId={container.name || container.id}
hostname={container.name}
guestId={container.id}
customUrl={props.guestMetadata?.[container.id]?.customUrl}
@@ -2164,8 +2164,8 @@ const DockerServiceRow: Component<{
<Show when={activeTab() === 'discovery'}>
<DiscoveryTab
resourceType="docker"
- hostId={host.id}
- resourceId={service.id || service.name || ''}
+ hostId={host.agentId || host.id}
+ resourceId={service.name || service.id || ''}
hostname={service.name || service.id || 'Service'}
guestId={resourceId()}
customUrl={props.guestMetadata?.[resourceId()]?.customUrl}