Skip to content

Commit

Permalink
remove use of rand.Seed()
Browse files Browse the repository at this point in the history
  • Loading branch information
neoaggelos committed Apr 2, 2024
1 parent 38a7d13 commit 9a114b1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ package main
import (
"context"
"flag"
"math/rand"
"os"
"time"

corev1 "k8s.io/api/core/v1"

Expand Down Expand Up @@ -61,7 +59,6 @@ func init() {
utilruntime.Must(bootstrapclusterxk8siov1beta1.AddToScheme(scheme))
//+kubebuilder:scaffold:scheme

rand.Seed(time.Now().UnixNano())
}

Check failure on line 62 in main.go

View workflow job for this annotation

GitHub Actions / Code Quality

unnecessary trailing newline (whitespace)

func main() {
Expand Down

0 comments on commit 9a114b1

Please sign in to comment.