Chris Lu
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
weed/wdclient/vid_map.go
|
@ -133,7 +133,7 @@ func (vc *vidMap) GetLocations(vid uint32) (locations []Location, found bool) { |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
locations, found = vc.ecVid2Locations[vid] |
|
|
locations, found = vc.ecVid2Locations[vid] |
|
|
return |
|
|
|
|
|
|
|
|
return locations, found && len(locations) > 0 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
func (vc *vidMap) addLocation(vid uint32, location Location) { |
|
|
func (vc *vidMap) addLocation(vid uint32, location Location) { |
|
|