fix(hermes): Add the shared namespace constant, then replace each of the three existing "longhorn-system" arguments with longhornSystemNamespace in queryLonghornNodes, queryLonghornManagerDaemonSet, and longhornManagerPodsByNode. (incident sonar/ananke/go:S1192/AZ-IckL-1fRfbdzqD-5R)

This commit is contained in:
Hermes Agent 2026-08-07 08:10:42 +00:00
parent 76876ef895
commit 8fda40f6f3

View File

@ -10,6 +10,8 @@ import (
"time"
)
const longhornSystemNamespace = "longhorn-system"
type longhornNodeList struct {
Items []longhornNode `json:"items"`
}