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 (
23
23
24
24
"github.com/containerd/containerd/v2/cmd/containerd/command"
25
25
"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
27
26
28
27
_ "github.com/containerd/containerd/v2/cmd/containerd/builtins"
29
28
)
30
29
31
30
func init () {
32
- //nolint:staticcheck // Global math/rand seed is deprecated, but still used by external dependencies
33
- seed .WithTimeAndRand ()
34
31
crypto .RegisterHash (crypto .SHA256 , hasher .NewSHA256 )
35
32
}
36
33
Original file line number Diff line number Diff line change @@ -23,15 +23,12 @@ import (
23
23
24
24
"github.com/containerd/containerd/v2/cmd/ctr/app"
25
25
"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
27
26
"github.com/urfave/cli/v2"
28
27
)
29
28
30
29
var pluginCmds = []* cli.Command {}
31
30
32
31
func init () {
33
- //nolint:staticcheck // Global math/rand seed is deprecated, but still used by external dependencies
34
- seed .WithTimeAndRand ()
35
32
crypto .RegisterHash (crypto .SHA256 , hasher .NewSHA256 )
36
33
}
37
34
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