Skip to content

Commit

Permalink
chore: remove explicit math/rand seed (#1793)
Browse files Browse the repository at this point in the history
  • Loading branch information
thevilledev authored Sep 15, 2023
1 parent 4a62409 commit 38facdc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions child/child.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ import (
"github.com/hashicorp/consul-template/signals"
)

func init() {
// Seed the default rand Source with current time to produce better random
// numbers used with splay
rand.Seed(time.Now().UnixNano())
}

var (
// ErrMissingCommand is the error returned when no command is specified
// to run.
Expand Down

0 comments on commit 38facdc

Please sign in to comment.