firecracker-microvm / firecracker-microvm/firecracker-containerd

Resolve SA1019 "github.com/containerd/containerd/pkg/seed" is deprecated lint warnings

Open
#810 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.9k
Forks
247
PR merge metrics
No merged PRs in 30d

Description

Resolve the following errors:
```
firecracker-control/cmd/containerd/main.go:76:2: SA1019: seed.WithTimeAndRand is deprecated: Do not rely on the global seed. (staticcheck)
seed.WithTimeAndRand()
^
firecracker-control/cmd/containerd/main.go:21:2: SA1019: "github.com/containerd/containerd/pkg/seed" is deprecated: Do not rely on the global seed. (staticcheck)
"github.com/containerd/containerd/pkg/seed"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.