Skip to content

Commit

Permalink
chore: remove unused function
Browse files Browse the repository at this point in the history
Signed-off-by: Maryam Tahhan <[email protected]>
  • Loading branch information
maryamtahhan committed Aug 19, 2024
1 parent 147fbff commit f77516b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/collector/stats/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (
"os/exec"
"regexp"
"runtime"
"slices"
"strconv"
"strings"

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f77516b

Please sign in to comment.