File tree Expand file tree Collapse file tree 5 files changed +0
-101
lines changed
Expand file tree Collapse file tree 5 files changed +0
-101
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,11 @@ import (
2323
2424 "github.com/containerd/containerd/v2/cmd/containerd/command"
2525 "github.com/containerd/containerd/v2/internal/hasher"
26- "github.com/containerd/containerd/v2/pkg/seed" //nolint:staticcheck // Global math/rand seed is deprecated, but still used by external dependencies
2726
2827 _ "github.com/containerd/containerd/v2/cmd/containerd/builtins"
2928)
3029
3130func init () {
32- //nolint:staticcheck // Global math/rand seed is deprecated, but still used by external dependencies
33- seed .WithTimeAndRand ()
3431 crypto .RegisterHash (crypto .SHA256 , hasher .NewSHA256 )
3532}
3633
Original file line number Diff line number Diff line change @@ -23,15 +23,12 @@ import (
2323
2424 "github.com/containerd/containerd/v2/cmd/ctr/app"
2525 "github.com/containerd/containerd/v2/internal/hasher"
26- "github.com/containerd/containerd/v2/pkg/seed" //nolint:staticcheck // Global math/rand seed is deprecated, but still used by external dependencies
2726 "github.com/urfave/cli/v2"
2827)
2928
3029var pluginCmds = []* cli.Command {}
3130
3231func init () {
33- //nolint:staticcheck // Global math/rand seed is deprecated, but still used by external dependencies
34- seed .WithTimeAndRand ()
3532 crypto .RegisterHash (crypto .SHA256 , hasher .NewSHA256 )
3633}
3734
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments