|
@ -71,7 +71,7 @@ func LookupFn(filerClient filer_pb.FilerClient) wdclient.LookupFileIdFunctionTyp |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
for _, loc := range locations.Locations { |
|
|
for _, loc := range locations.Locations { |
|
|
volumeServerAddress := loc.Url |
|
|
|
|
|
|
|
|
volumeServerAddress := filerClient.AdjustedUrl(loc) |
|
|
targetUrl := fmt.Sprintf("http://%s/%s", volumeServerAddress, fileId) |
|
|
targetUrl := fmt.Sprintf("http://%s/%s", volumeServerAddress, fileId) |
|
|
targetUrls = append(targetUrls, targetUrl) |
|
|
targetUrls = append(targetUrls, targetUrl) |
|
|
} |
|
|
} |
|
|