Java: 1.5.8 additional fixes

This commit is contained in:
Chris Lu
2021-02-05 10:42:20 -08:00
parent 6a2a9b67e8
commit 8f3a51f2b8
3 changed files with 10 additions and 3 deletions

View File

@@ -122,7 +122,7 @@ public class SeaweedRead {
} else if (filerGrpcClient.isAccessVolumeServerByFilerProxy()) {
host = filerGrpcClient.getFilerAddress();
}
String url = String.format("http://%s/%s", location.getUrl(), chunkView.fileId);
String url = String.format("http://%s/%s", host, chunkView.fileId);
try {
data = doFetchOneFullChunkData(chunkView, url);
lastException = null;