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.

Tighten connected infrastructure comments

rcourtman27d44fd2bfa1
diff --git a/frontend-modern/src/stores/websocket.ts b/frontend-modern/src/stores/websocket.ts
index 51e2f07322..59f10b0b4d 100644
--- a/frontend-modern/src/stores/websocket.ts
+++ b/frontend-modern/src/stores/websocket.ts
@@ -352,7 +352,7 @@ export function createWebSocketStore(url: string) {
// Canonical resource contract:
// `state.resources` is the authoritative frontend model.
- // Connected infrastructure is the authoritative reporting/ignore projection.
+ // `state.connectedInfrastructure` is the authoritative reporting/ignore projection.
const connectedInfrastructure = Array.isArray(message.data.connectedInfrastructure)
? (message.data.connectedInfrastructure as ConnectedInfrastructureItem[])
: [];
diff --git a/internal/models/models_frontend.go b/internal/models/models_frontend.go
index 52d4a2ff19..24ac1f3576 100644
--- a/internal/models/models_frontend.go
+++ b/internal/models/models_frontend.go
@@ -204,7 +204,7 @@ func (h DockerHostFrontend) NormalizeCollections() DockerHostFrontend {
}
// ConnectedInfrastructureSurfaceFrontend describes one reporting surface that
-// Pulse associates with an infrastructure item in the Connected infrastructure
+// Pulse associates with an infrastructure item in the connected-infrastructure
// settings view.
type ConnectedInfrastructureSurfaceFrontend struct {
ID string `json:"id"`