Merge pull request #3187 from ningfdx/remote

This commit is contained in:
Chris Lu 2022-06-15 06:34:32 -07:00 committed by GitHub
commit 097a12dfb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -133,7 +133,7 @@ func (vc *vidMap) GetLocations(vid uint32) (locations []Location, found bool) {
return
}
locations, found = vc.ecVid2Locations[vid]
return
return locations, found && len(locations) > 0
}
func (vc *vidMap) addLocation(vid uint32, location Location) {