diff --git a/server/models/pattern/core/pattern.go b/server/models/pattern/core/pattern.go index 1a8b8329a80..7433d337042 100644 --- a/server/models/pattern/core/pattern.go +++ b/server/models/pattern/core/pattern.go @@ -6,9 +6,7 @@ import ( "errors" "fmt" "math/big" - mathrand "math/rand" "strings" - "time" "github.com/gofrs/uuid" "github.com/layer5io/meshery/server/models/pattern/utils" @@ -699,7 +697,3 @@ func getCytoscapeJSPosition(svc *Service) (cytoscapejs.Position, error) { return pos, nil } - -func init() { - mathrand.Seed(time.Now().Unix()) -}