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:
parent
76876ef895
commit
8fda40f6f3
@ -10,6 +10,8 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
const longhornSystemNamespace = "longhorn-system"
|
||||
|
||||
type longhornNodeList struct {
|
||||
Items []longhornNode `json:"items"`
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user