diff --git a/commands/history/ls.go b/commands/history/ls.go index 25f9964ff118..07d1ef2402d3 100644 --- a/commands/history/ls.go +++ b/commands/history/ls.go @@ -5,6 +5,7 @@ import ( "encoding/json" "fmt" "os" + "slices" "time" "github.com/containerd/console" @@ -18,7 +19,6 @@ import ( "github.com/docker/cli/cli/command/formatter" "github.com/docker/go-units" "github.com/spf13/cobra" - "golang.org/x/exp/slices" ) const ( diff --git a/go.mod b/go.mod index 3e603a02b986..7f266a81e380 100644 --- a/go.mod +++ b/go.mod @@ -53,7 +53,6 @@ require ( go.opentelemetry.io/otel/metric v1.31.0 go.opentelemetry.io/otel/sdk v1.31.0 go.opentelemetry.io/otel/trace v1.31.0 - golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f golang.org/x/mod v0.22.0 golang.org/x/sync v0.10.0 golang.org/x/sys v0.29.0 @@ -171,6 +170,7 @@ require ( go.opentelemetry.io/otel/sdk/metric v1.31.0 // indirect go.opentelemetry.io/proto/otlp v1.3.1 // indirect golang.org/x/crypto v0.31.0 // indirect + golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f // indirect golang.org/x/net v0.33.0 // indirect golang.org/x/oauth2 v0.23.0 // indirect golang.org/x/time v0.6.0 // indirect