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.

Cover unified facet bundle route in proofs

rcourtman21cf8250a5c4
diff --git a/internal/unifiedresources/code_standards_test.go b/internal/unifiedresources/code_standards_test.go
index a4f83c47e0..7b90ede1e7 100644
--- a/internal/unifiedresources/code_standards_test.go
+++ b/internal/unifiedresources/code_standards_test.go
@@ -241,9 +241,11 @@ func TestResourceAPIExposesDedicatedFacetReads(t *testing.T) {
source := string(data)
requiredSnippets := []string{
+ "HandleGetResourceFacets",
"HandleGetResourceCapabilities",
"HandleGetResourceRelationships",
"HandleGetResourceTimeline",
+ "strings.HasSuffix(r.URL.Path, \"/facets\")",
"strings.HasSuffix(r.URL.Path, \"/capabilities\")",
"strings.HasSuffix(r.URL.Path, \"/relationships\")",
"strings.HasSuffix(r.URL.Path, \"/timeline\")",