1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-06-26 04:18:59 +02:00
This commit is contained in:
Chris Lu 2019-04-21 13:33:32 -07:00
parent 440111a349
commit 5c411f3e5f

View file

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