Skip to content

Commit

Permalink
Remove deprecated use of rand.Seed.
Browse files Browse the repository at this point in the history
Signed-off-by: SuperQ <[email protected]>
  • Loading branch information
SuperQ committed Feb 22, 2024
1 parent efdc878 commit cc4959b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/monoceros/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ package main
import (
"context"
"fmt"
"math/rand"
"os"
"os/signal"
"sync"
"syscall"
"time"

"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/common/version"
Expand Down Expand Up @@ -97,7 +95,6 @@ func mainCore(config *config.MonocerosConfig, logger *zap.Logger) error {

func main() {
prometheus.MustRegister(version.NewCollector(AppName))
rand.Seed(time.Now().UnixNano())

app := &cli.App{
Name: AppName,
Expand Down

0 comments on commit cc4959b

Please sign in to comment.