diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-04-29 13:26:02 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-04-29 13:26:02 -0700 |
| commit | ed3cf811f576e2dd9fd1c1fb0df967d7fb9e6f1c (patch) | |
| tree | c74581440a5f375bedc0d03a99dc51a536f971ed /weed/s3api/s3api_handlers.go | |
| parent | 7c10602b49dca54591337597f48da6e228a7068d (diff) | |
| download | seaweedfs-ed3cf811f576e2dd9fd1c1fb0df967d7fb9e6f1c.tar.xz seaweedfs-ed3cf811f576e2dd9fd1c1fb0df967d7fb9e6f1c.zip | |
refactoring
Diffstat (limited to 'weed/s3api/s3api_handlers.go')
| -rw-r--r-- | weed/s3api/s3api_handlers.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/s3api/s3api_handlers.go b/weed/s3api/s3api_handlers.go index b6f3d4334..45a7cbc2e 100644 --- a/weed/s3api/s3api_handlers.go +++ b/weed/s3api/s3api_handlers.go @@ -38,6 +38,8 @@ func encodeResponse(response interface{}) []byte { return bytesBuffer.Bytes() } +var _ = filer_pb.FilerClient(&S3ApiServer{}) + func (s3a *S3ApiServer) WithFilerClient(fn func(filer_pb.SeaweedFilerClient) error) error { return pb.WithCachedGrpcClient(func(grpcConnection *grpc.ClientConn) error { |
