Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
almostinf committed Nov 21, 2023
1 parent 3fe8f0d commit fd963a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/redis/metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func (connector *DbConnector) SaveMetrics(metrics map[string]*moira.MatchedMetri
c := *connector.client
ctx := connector.context

rand.Seed(time.Now().UnixNano())
rand := rand.New(rand.NewSource(time.Now().UnixNano()))
pipe := c.TxPipeline()

for _, metric := range metrics {
Expand Down

0 comments on commit fd963a4

Please sign in to comment.