mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Removed warnings from go staticcheck
This commit is contained in:
committed by
Dan Christian Bogos
parent
c2dacc42c1
commit
09e5088262
@@ -187,7 +187,6 @@ func (rbcs *RandomBalancesSorter) Sort() {
|
||||
src := *rbcs
|
||||
// randomize balance chain
|
||||
dest := make([]*Balance, len(src))
|
||||
rand.Seed(time.Now().UnixNano())
|
||||
perm := rand.Perm(len(src))
|
||||
for i, v := range perm {
|
||||
dest[v] = src[i]
|
||||
|
||||
Reference in New Issue
Block a user