From d890ee32f3e4f686b894be4f9e501b112513f13d Mon Sep 17 00:00:00 2001 From: Ville Vesilehto Date: Wed, 16 Aug 2023 08:49:40 +0300 Subject: [PATCH] chore: remove explicit math/rand seed --- child/child.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/child/child.go b/child/child.go index 3c80edbb2..f5d64db3a 100644 --- a/child/child.go +++ b/child/child.go @@ -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.