diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-04-21 13:33:32 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-04-21 13:33:32 -0700 |
| commit | 5c411f3e5fc3f44a7290afcfd08ceaaa42479cbf (patch) | |
| tree | e28292dac64fd0adcde878a790384df67cab5730 | |
| parent | 440111a3496319b167c91dea03758eb2ada013c9 (diff) | |
| download | seaweedfs-5c411f3e5fc3f44a7290afcfd08ceaaa42479cbf.tar.xz seaweedfs-5c411f3e5fc3f44a7290afcfd08ceaaa42479cbf.zip | |
minor
| -rw-r--r-- | weed/wdclient/vid_map.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 } } |
