From 302969727adbf811c8ceca8e42d311a520addc9b Mon Sep 17 00:00:00 2001 From: MUzairS15 Date: Mon, 11 Sep 2023 22:47:15 +0530 Subject: [PATCH] lint fixes Signed-off-by: MUzairS15 --- server/models/pattern/core/pattern.go | 6 ------ 1 file changed, 6 deletions(-) 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()) -}