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.

test(resources): check the captured timeline change path

pulse-triage[bot]7c66d124b18d
diff --git a/internal/unifiedresources/code_standards_test.go b/internal/unifiedresources/code_standards_test.go
index 8b911ca2a2..55024997b0 100644
--- a/internal/unifiedresources/code_standards_test.go
+++ b/internal/unifiedresources/code_standards_test.go
@@ -1194,7 +1194,8 @@ func TestPlatformActivityTimelineContractStaysCanonical(t *testing.T) {
},
filepath.Join("..", "monitoring", "monitor.go"): {
"type MonitorSupplementalChangesProvider interface {",
- "recordSupplementalResourceChanges(store, supplementalChanges)",
+ "binding := m.captureResourceStoreBinding()",
+ "recordSupplementalResourceChanges(store, binding.providers.changes(m))",
"func recordSupplementalResourceChanges(store ResourceStoreInterface, changes []unifiedresources.ResourceChange) {",
},
filepath.Join("..", "monitoring", "vmware_poller.go"): {