aboutsummaryrefslogtreecommitdiff
path: root/weed/replication/source/filer_source.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-01-24 01:41:38 -0800
committerChris Lu <chris.lu@gmail.com>2021-01-24 01:41:38 -0800
commit096e088d7bb2a5dce7573b24c2d3006d1cb6f9ec (patch)
tree888668ade913d7e8b912fd73b781c52ae3a700a1 /weed/replication/source/filer_source.go
parentccbdb38c89a79a482c46faaa9b0dd53e3dacb822 (diff)
downloadseaweedfs-096e088d7bb2a5dce7573b24c2d3006d1cb6f9ec.tar.xz
seaweedfs-096e088d7bb2a5dce7573b24c2d3006d1cb6f9ec.zip
mount: when outside cluster network, use filer as proxy to access volume servers
Diffstat (limited to 'weed/replication/source/filer_source.go')
-rw-r--r--weed/replication/source/filer_source.go4
1 files changed, 0 insertions, 4 deletions
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 {