aboutsummaryrefslogtreecommitdiff
path: root/weed/wdclient/vid_map_test.go
diff options
context:
space:
mode:
authorKonstantin Lebedev <lebedev_k@tochka.com>2020-11-12 02:13:33 +0500
committerKonstantin Lebedev <lebedev_k@tochka.com>2020-11-12 02:13:33 +0500
commitfc7baef5bb58caa454deb6ea0376a8bd516aa080 (patch)
tree059310f4a2ed78c57ce6c84ea9d33811c5d1502a /weed/wdclient/vid_map_test.go
parentb73ef6aa95399a30b54cd43260945cbe14e49457 (diff)
downloadseaweedfs-fc7baef5bb58caa454deb6ea0376a8bd516aa080.tar.xz
seaweedfs-fc7baef5bb58caa454deb6ea0376a8bd516aa080.zip
fiil serverUrls sorted by data center
Diffstat (limited to 'weed/wdclient/vid_map_test.go')
-rw-r--r--weed/wdclient/vid_map_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/wdclient/vid_map_test.go b/weed/wdclient/vid_map_test.go
index 87be2fc25..0cea698ac 100644
--- a/weed/wdclient/vid_map_test.go
+++ b/weed/wdclient/vid_map_test.go
@@ -45,7 +45,7 @@ func TestLocationIndex(t *testing.T) {
mustOk(7, maxCursorIndex, 0)
// test with constructor
- vm = newVidMap()
+ vm = newVidMap("")
length := 7
for i := 0; i < 100; i++ {
got, err := vm.getLocationIndex(length)