Skip to content

Commit

Permalink
Merge pull request #135 from containerd/stefanberger/staticcheck
Browse files Browse the repository at this point in the history
ctr: Avoid staticcheck on seed.WithTimeAndRand
  • Loading branch information
stefanberger authored Dec 28, 2023
2 parents 1f855f4 + 3c4442c commit 1292dc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/ctr/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import (
var pluginCmds = []cli.Command{}

func init() {
//nolint:staticcheck // Global math/rand seed is deprecated, but still used by external dependencies
seed.WithTimeAndRand()
}

Expand Down

0 comments on commit 1292dc0

Please sign in to comment.