@@ -23,13 +23,14 @@ import (
|
||||
|
||||
"github.com/containerd/containerd/cmd/ctr/app"
|
||||
"github.com/containerd/containerd/pkg/hasher"
|
||||
"github.com/containerd/containerd/pkg/seed"
|
||||
"github.com/containerd/containerd/pkg/seed" //nolint:staticcheck // Global math/rand seed is deprecated, but still used by external dependencies
|
||||
"github.com/urfave/cli"
|
||||
)
|
||||
|
||||
var pluginCmds = []cli.Command{}
|
||||
|
||||
func init() {
|
||||
//nolint:staticcheck // Global math/rand seed is deprecated, but still used by external dependencies
|
||||
seed.WithTimeAndRand()
|
||||
crypto.RegisterHash(crypto.SHA256, hasher.NewSHA256)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user