diff --git a/go.mod b/go.mod index 59792039f03..8faa6c0ad90 100644 --- a/go.mod +++ b/go.mod @@ -39,6 +39,7 @@ require ( github.com/vishvananda/netlink v1.2.1-beta.2.0.20230807190133-6afddb37c1f0 go.uber.org/atomic v1.11.0 go.uber.org/multierr v1.11.0 + golang.org/x/exp v0.0.0-20230905200255-921286631fa9 golang.org/x/sync v0.4.0 golang.org/x/sys v0.13.0 golang.org/x/time v0.3.0 @@ -169,7 +170,6 @@ require ( go.opentelemetry.io/otel/trace v1.17.0 // indirect go.uber.org/dig v1.17.0 // indirect go.uber.org/zap v1.25.0 // indirect - golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect golang.org/x/mod v0.12.0 // indirect golang.org/x/net v0.17.0 // indirect golang.org/x/oauth2 v0.12.0 // indirect 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"