diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-01-24 19:01:58 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-01-24 19:01:58 -0800 |
| commit | 00707ec00fb8016ac9ef8858a01a9784a6aee1a0 (patch) | |
| tree | dfe313d9fead4bcdf741e52f7b6316d2da00d71b /weed/s3api/s3api_handlers.go | |
| parent | 2c5eac5705c12b4dc0930d0a27478a73924b9e16 (diff) | |
| download | seaweedfs-00707ec00fb8016ac9ef8858a01a9784a6aee1a0.tar.xz seaweedfs-00707ec00fb8016ac9ef8858a01a9784a6aee1a0.zip | |
mount: outsideContainerClusterMode proxy through filer
Running mount outside of the cluster would not need to expose all the volume servers to outside of the cluster. The chunk read and write will go through the filer.
Diffstat (limited to 'weed/s3api/s3api_handlers.go')
| -rw-r--r-- | weed/s3api/s3api_handlers.go | 3 |
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) { |
