From 096e088d7bb2a5dce7573b24c2d3006d1cb6f9ec Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 24 Jan 2021 01:41:38 -0800 Subject: mount: when outside cluster network, use filer as proxy to access volume servers --- weed/replication/source/filer_source.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'weed/replication/source/filer_source.go') diff --git a/weed/replication/source/filer_source.go b/weed/replication/source/filer_source.go index 3982360b0..eff1da8dc 100644 --- a/weed/replication/source/filer_source.go +++ b/weed/replication/source/filer_source.go @@ -124,10 +124,6 @@ func (fs *FilerSource) WithFilerClient(fn func(filer_pb.SeaweedFilerClient) erro } -func (fs *FilerSource) AdjustedUrl(location *filer_pb.Location) string { - return location.Url -} - func volumeId(fileId string) string { lastCommaIndex := strings.LastIndex(fileId, ",") if lastCommaIndex > 0 { -- cgit v1.2.3