Skip to content

Commit 1b22135

Browse files
committed
Fixing golangci-lint error: rand.Seed has been deprecated since Go 1.20
Signed-off-by: rohitagg2020 <[email protected]>
1 parent 0e70cfd commit 1b22135

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cmd/vendir/vendir.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,14 @@ package main
66
import (
77
"io"
88
"log"
9-
"math/rand"
109
"os"
11-
"time"
1210

1311
uierrs "github.com/cppforlife/go-cli-ui/errors"
1412
"github.com/cppforlife/go-cli-ui/ui"
1513
"github.com/vmware-tanzu/carvel-vendir/pkg/vendir/cmd"
1614
)
1715

1816
func main() {
19-
rand.Seed(time.Now().UTC().UnixNano())
20-
2117
log.SetOutput(io.Discard)
2218

2319
// TODO logs

0 commit comments

Comments
 (0)