aboutsummaryrefslogtreecommitdiff
path: root/weed/shell
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/shell
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/shell')
-rw-r--r--weed/shell/commands.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/weed/shell/commands.go b/weed/shell/commands.go
index 0e285214b..6e1348ca5 100644
--- a/weed/shell/commands.go
+++ b/weed/shell/commands.go
@@ -102,10 +102,6 @@ func (ce *CommandEnv) WithFilerClient(fn func(filer_pb.SeaweedFilerClient) error
}
-func (ce *CommandEnv) AdjustedUrl(location *filer_pb.Location) string {
- return location.Url
-}
-
func parseFilerUrl(entryPath string) (filerServer string, filerPort int64, path string, err error) {
if strings.HasPrefix(entryPath, "http") {
var u *url.URL