diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-03-22 23:52:55 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-03-22 23:52:55 -0700 |
| commit | fbca6b29bd48eeed54511a9b53b937597eee5d19 (patch) | |
| tree | e1e8aa9ea986ab116c62fce57c3441c0a33a1c6c /weed/s3api/s3api_handlers.go | |
| parent | b77b4cc3a295b9a37cd051fd9d61bbe02b4c35bb (diff) | |
| download | seaweedfs-fbca6b29bd48eeed54511a9b53b937597eee5d19.tar.xz seaweedfs-fbca6b29bd48eeed54511a9b53b937597eee5d19.zip | |
refactoring
Diffstat (limited to 'weed/s3api/s3api_handlers.go')
| -rw-r--r-- | weed/s3api/s3api_handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/s3api/s3api_handlers.go b/weed/s3api/s3api_handlers.go index d7212d5e3..d850cb088 100644 --- a/weed/s3api/s3api_handlers.go +++ b/weed/s3api/s3api_handlers.go @@ -38,7 +38,7 @@ func encodeResponse(response interface{}) []byte { return bytesBuffer.Bytes() } -func (s3a *S3ApiServer) withFilerClient(fn func(filer_pb.SeaweedFilerClient) error) error { +func (s3a *S3ApiServer) WithFilerClient(fn func(filer_pb.SeaweedFilerClient) error) error { return pb.WithCachedGrpcClient(func(grpcConnection *grpc.ClientConn) error { client := filer_pb.NewSeaweedFilerClient(grpcConnection) |
