masterclient: fallback to directly querying master in case of missing volume id location

This commit is contained in:
chrislu
2022-06-24 02:08:57 -07:00
parent 280e33092c
commit 9c517d2b35
2 changed files with 30 additions and 4 deletions

View File

@@ -90,10 +90,6 @@ func (vc *vidMap) LookupVolumeServerUrl(vid string) (serverUrls []string, err er
return
}
func (vc *vidMap) GetLookupFileIdFunction() LookupFileIdFunctionType {
return vc.LookupFileId
}
func (vc *vidMap) LookupFileId(fileId string) (fullUrls []string, err error) {
parts := strings.Split(fileId, ",")
if len(parts) != 2 {