Browse Source

minor

pull/942/head
Chris Lu 6 years ago
parent
commit
5c411f3e5f
  1. 1
      weed/wdclient/vid_map.go

1
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
}
}

Loading…
Cancel
Save