From 5d1df975e93e485d1a81c108b9b3494db556cd4b Mon Sep 17 00:00:00 2001 From: Mahe Tardy Date: Fri, 13 Oct 2023 13:16:16 +0000 Subject: [PATCH] pkg/metrics: remove use of x/exp/slices and use stdlib slices Signed-off-by: Mahe Tardy --- pkg/metrics/granularmetric.go | 2 +- pkg/metrics/metrics.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/metrics/granularmetric.go b/pkg/metrics/granularmetric.go index eb490be435e..08790c3dce1 100644 --- a/pkg/metrics/granularmetric.go +++ b/pkg/metrics/granularmetric.go @@ -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 ( diff --git a/pkg/metrics/metrics.go b/pkg/metrics/metrics.go index 8d78dbb1758..cf525538b7e 100644 --- a/pkg/metrics/metrics.go +++ b/pkg/metrics/metrics.go @@ -5,7 +5,6 @@ package metrics import ( "net/http" - "slices" "sync" "github.com/cilium/tetragon/pkg/logger"