diff --git a/.fuse_hidden0000020d00000002 b/.fuse_hidden0000020d00000002 new file mode 100644 index 00000000..e69de29b diff --git a/go.mod b/go.mod index 5c9e2bd5..dde8646a 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,6 @@ require ( github.com/gorilla/mux v1.8.1 github.com/gorilla/websocket v1.5.1 github.com/pkg/term v1.1.0 - golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f golang.org/x/sys v0.21.0 golang.org/x/term v0.21.0 gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c diff --git a/go.sum b/go.sum index 935059e5..31493018 100644 --- a/go.sum +++ b/go.sum @@ -15,8 +15,6 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/pkg/term v1.1.0 h1:xIAAdCMh3QIAy+5FrE8Ad8XoDhEU4ufwbaSozViP9kk= github.com/pkg/term v1.1.0/go.mod h1:E25nymQcrSllhX42Ok8MRm1+hyBdHY0dCeiKZ9jpNGw= -golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f h1:XdNn9LlyWAhLVp6P/i8QYBW+hlyhrhei9uErw2B5GJo= -golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f/go.mod h1:D5SMRVC3C2/4+F/DB1wZsLRnSNimn2Sp/NPsCrsv8ak= golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ= golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE= golang.org/x/sys v0.0.0-20200909081042-eff7692f9009/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= diff --git a/internals/daemon/daemon.go b/internals/daemon/daemon.go index 630529c9..0397a2cb 100644 --- a/internals/daemon/daemon.go +++ b/internals/daemon/daemon.go @@ -20,6 +20,7 @@ import ( "errors" "fmt" "io" + "math/rand" "net" "net/http" "os" @@ -33,7 +34,6 @@ import ( "time" "github.com/gorilla/mux" - "golang.org/x/exp/rand" "gopkg.in/tomb.v2" "github.com/canonical/pebble/internals/logger" diff --git a/internals/metrics/metrics.go b/internals/metrics/metrics.go index c45d0bd3..8c81b890 100644 --- a/internals/metrics/metrics.go +++ b/internals/metrics/metrics.go @@ -16,12 +16,12 @@ package metrics import ( "fmt" + "math/rand" "net/http" "sync" "time" "github.com/gorilla/mux" - "golang.org/x/exp/rand" ) // MetricType models the type of a metric.