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.

Keep unrelated infrastructure name assertion unchanged

pulse-triage[bot]3c0780070983
diff --git a/internal/unifiedresources/code_standards_test.go b/internal/unifiedresources/code_standards_test.go
index 9145d48447..6bf168aa27 100644
--- a/internal/unifiedresources/code_standards_test.go
+++ b/internal/unifiedresources/code_standards_test.go
@@ -1463,7 +1463,7 @@ func TestRootCauseEngineUsesCanonicalRelationshipModel(t *testing.T) {
func TestResourceDisplayNameUsedByInfrastructureConsumers(t *testing.T) {
requiredSnippets := map[string][]string{
filepath.Join("..", "monitoring", "connected_infrastructure.go"): {
- "unifiedresources.ResourceDisplayName(*resource)",
+ "unifiedresources.ResourceDisplayName(resource)",
},
filepath.Join(".", "monitored_systems.go"): {
"if name := ResourceDisplayName(*resource); name != \"\" {",