Skip to content

Commit

Permalink
fix: rand.Seed has been deprecated
Browse files Browse the repository at this point in the history
Signed-off-by: PoAn Yang <[email protected]>
  • Loading branch information
FrankYang0529 authored and bk201 committed Nov 3, 2023
1 parent 7fe9798 commit 42e7813
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package main

import (
"math/rand"
"os"
"time"

"github.com/spf13/pflag"
"k8s.io/apimachinery/pkg/util/wait"
Expand All @@ -19,8 +17,6 @@ import (
)

func main() {
rand.Seed(time.Now().UnixNano())

pflag.CommandLine.SetNormalizeFunc(cliflag.WordSepNormalizeFunc)

ccmOptions, err := options.NewCloudControllerManagerOptions()
Expand Down

0 comments on commit 42e7813

Please sign in to comment.