aboutsummaryrefslogtreecommitdiff
path: root/weed/s3api/s3api_handlers.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/s3api/s3api_handlers.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/s3api/s3api_handlers.go')
-rw-r--r--weed/s3api/s3api_handlers.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/weed/s3api/s3api_handlers.go b/weed/s3api/s3api_handlers.go
index 6935c75bd..57b26f3dd 100644
--- a/weed/s3api/s3api_handlers.go
+++ b/weed/s3api/s3api_handlers.go
@@ -50,9 +50,6 @@ func (s3a *S3ApiServer) WithFilerClient(fn func(filer_pb.SeaweedFilerClient) err
}, s3a.option.FilerGrpcAddress, s3a.option.GrpcDialOption)
}
-func (s3a *S3ApiServer) AdjustedUrl(location *filer_pb.Location) string {
- return location.Url
-}
// If none of the http routes match respond with MethodNotAllowed
func notFoundHandler(w http.ResponseWriter, r *http.Request) {