From 8c2565e0bec062eb95a117e91723b7e4e502819b Mon Sep 17 00:00:00 2001 From: Maryam Tahhan Date: Wed, 31 Jul 2024 07:52:26 -0400 Subject: [PATCH] chore: remove unused function Signed-off-by: Maryam Tahhan --- pkg/collector/stats/utils.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/collector/stats/utils.go b/pkg/collector/stats/utils.go index 8cfb003287..cabf33d623 100644 --- a/pkg/collector/stats/utils.go +++ b/pkg/collector/stats/utils.go @@ -22,7 +22,6 @@ import ( "os/exec" "regexp" "runtime" - "slices" "strconv" "strings" @@ -75,10 +74,6 @@ func GetProcessFeatureNames() []string { return metrics } -func AvailableBPFMetricsHas(s string) bool { - return slices.Contains(AvailableBPFMetrics, s) -} - func GetNodeName() string { if nodeName := os.Getenv("NODE_NAME"); nodeName != "" { return nodeName