Staticheck fixes

This commit is contained in:
2025-01-29 23:42:58 +00:00
parent 15d1dd7164
commit fa24095b88
6 changed files with 17 additions and 51 deletions
-1
View File
@@ -17,7 +17,6 @@ var sortedLabelKeysCache = struct {
}{}
func (ms *MetricsSetup) get_metrics_name(name string, labels map[string]string) string {
const unknownPodName = "unknown"
var buf bytes.Buffer
podName := getPodName()