Skip to content

Commit

Permalink
pkg/metrics: remove use of x/exp/slices and use stdlib slices
Browse files Browse the repository at this point in the history
Signed-off-by: Mahe Tardy <[email protected]>
  • Loading branch information
mtardy committed Oct 13, 2023
1 parent c0fb1d3 commit 5d1df97
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/metrics/granularmetric.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ package metrics

import (
"fmt"
"slices"
"sync"

"github.com/cilium/tetragon/pkg/metrics/consts"
"github.com/cilium/tetragon/pkg/option"
"github.com/prometheus/client_golang/prometheus"
"golang.org/x/exp/slices"
)

var (
Expand Down
1 change: 0 additions & 1 deletion pkg/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ package metrics

import (
"net/http"
"slices"
"sync"

"github.com/cilium/tetragon/pkg/logger"
Expand Down

0 comments on commit 5d1df97

Please sign in to comment.