From 5c411f3e5fc3f44a7290afcfd08ceaaa42479cbf Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 21 Apr 2019 13:33:32 -0700 Subject: [PATCH] minor --- weed/wdclient/vid_map.go | 1 + 1 file changed, 1 insertion(+) diff --git a/weed/wdclient/vid_map.go b/weed/wdclient/vid_map.go index 64c24a809..2556049c3 100644 --- a/weed/wdclient/vid_map.go +++ b/weed/wdclient/vid_map.go @@ -117,6 +117,7 @@ func (vc *vidMap) deleteLocation(vid uint32, location Location) { for i, loc := range locations { if loc.Url == location.Url { vc.vid2Locations[vid] = append(locations[0:i], locations[i+1:]...) + break } }