aboutsummaryrefslogtreecommitdiff
path: root/weed/wdclient/vid_map.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/wdclient/vid_map.go')
-rw-r--r--weed/wdclient/vid_map.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/wdclient/vid_map.go b/weed/wdclient/vid_map.go
index 89542b25b..5c3d167db 100644
--- a/weed/wdclient/vid_map.go
+++ b/weed/wdclient/vid_map.go
@@ -43,8 +43,8 @@ type vidMap struct {
cache *vidMap
}
-func newVidMap(dataCenter string) vidMap {
- return vidMap{
+func newVidMap(dataCenter string) *vidMap {
+ return &vidMap{
vid2Locations: make(map[uint32][]Location),
ecVid2Locations: make(map[uint32][]Location),
DataCenter: dataCenter,