diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-01-28 14:36:29 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-01-28 14:36:29 -0800 |
| commit | 990fa69bfeac65a72bec1539993e32633858c8f5 (patch) | |
| tree | 00b90626c590534b64a581da8807117459b91ecb /weed/s3api/s3api_handlers.go | |
| parent | 9292796ec2d8f796f3e9162fcd1362cba801e7e4 (diff) | |
| download | seaweedfs-990fa69bfeac65a72bec1539993e32633858c8f5.tar.xz seaweedfs-990fa69bfeac65a72bec1539993e32633858c8f5.zip | |
add back AdjustedUrl() related code
Diffstat (limited to 'weed/s3api/s3api_handlers.go')
| -rw-r--r-- | weed/s3api/s3api_handlers.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/weed/s3api/s3api_handlers.go b/weed/s3api/s3api_handlers.go index 57b26f3dd..6935c75bd 100644 --- a/weed/s3api/s3api_handlers.go +++ b/weed/s3api/s3api_handlers.go @@ -50,6 +50,9 @@ 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) { |
