diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-01-24 01:41:38 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-01-24 01:41:38 -0800 |
| commit | 096e088d7bb2a5dce7573b24c2d3006d1cb6f9ec (patch) | |
| tree | 888668ade913d7e8b912fd73b781c52ae3a700a1 /weed/shell/commands.go | |
| parent | ccbdb38c89a79a482c46faaa9b0dd53e3dacb822 (diff) | |
| download | seaweedfs-096e088d7bb2a5dce7573b24c2d3006d1cb6f9ec.tar.xz seaweedfs-096e088d7bb2a5dce7573b24c2d3006d1cb6f9ec.zip | |
mount: when outside cluster network, use filer as proxy to access volume servers
Diffstat (limited to 'weed/shell/commands.go')
| -rw-r--r-- | weed/shell/commands.go | 4 |
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 |
