Merge pull request #2454 from hairyhenderson/use-math-rand-instead-of-crypto-rand
Switching from crypto/rand to math/rand to avoid blocking
This commit is contained in:
commit
cb4bf2003f
@ -18,10 +18,10 @@ package walking
|
||||
|
||||
import (
|
||||
"context"
|
||||
"crypto/rand"
|
||||
"encoding/base64"
|
||||
"fmt"
|
||||
"io"
|
||||
"math/rand"
|
||||
"time"
|
||||
|
||||
"github.com/containerd/containerd/archive"
|
||||
|
@ -18,9 +18,9 @@ package rootfs
|
||||
|
||||
import (
|
||||
"context"
|
||||
"crypto/rand"
|
||||
"encoding/base64"
|
||||
"fmt"
|
||||
"math/rand"
|
||||
"time"
|
||||
|
||||
"github.com/containerd/containerd/diff"
|
||||
|
@ -18,9 +18,9 @@ package leases
|
||||
|
||||
import (
|
||||
"context"
|
||||
"crypto/rand"
|
||||
"encoding/base64"
|
||||
"fmt"
|
||||
"math/rand"
|
||||
"time"
|
||||
|
||||
"google.golang.org/grpc"
|
||||
|
Loading…
Reference in New Issue
Block a user