aboutsummaryrefslogtreecommitdiff
path: root/weed/topology/topology.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2024-08-29 09:52:21 -0700
committerchrislu <chris.lu@gmail.com>2024-08-29 09:52:21 -0700
commita4b25a642d6b2ed6056496ffddce864100932f3d (patch)
tree181b5690d9d257e2833b257992be6d29f78fb817 /weed/topology/topology.go
parentded5e084ea324c074e61bc74bba0bfaeb2af88d7 (diff)
downloadseaweedfs-a4b25a642d6b2ed6056496ffddce864100932f3d.tar.xz
seaweedfs-a4b25a642d6b2ed6056496ffddce864100932f3d.zip
math/rand => math/rand/v2
Diffstat (limited to 'weed/topology/topology.go')
-rw-r--r--weed/topology/topology.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/topology/topology.go b/weed/topology/topology.go
index 6a149bd56..6bfd912cb 100644
--- a/weed/topology/topology.go
+++ b/weed/topology/topology.go
@@ -4,7 +4,7 @@ import (
"encoding/json"
"errors"
"fmt"
- "math/rand"
+ "math/rand/v2"
"sync"
"time"