buildkitd: seed math rand
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>docker-18.09
parent
8331b9b2c6
commit
fde47cc113
|
@ -14,6 +14,7 @@ import (
|
|||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/containerd/containerd/pkg/seed"
|
||||
"github.com/containerd/containerd/platforms"
|
||||
"github.com/containerd/containerd/sys"
|
||||
"github.com/docker/go-connections/sockets"
|
||||
|
@ -44,6 +45,7 @@ import (
|
|||
|
||||
func init() {
|
||||
apicaps.ExportedProduct = "buildkit"
|
||||
seed.WithTimeAndRand()
|
||||
}
|
||||
|
||||
type workerInitializerOpt struct {
|
||||
|
|
Loading…
Reference in New Issue