mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-10 00:07:44 +02:00
avoid grpc name conflict
fix https://github.com/chrislusf/seaweedfs/issues/3055
This commit is contained in:
1 parent
cd2d10118c
commit
866fed1eab
4 files changed
+58
-57
No files matched your search
@@ -5,12 +5,12 @@ import (
|
||||
"github.com/chrislusf/seaweedfs/weed/pb/s3_pb"
|
||||
)
|
||||
|
||||
func (s3a *S3ApiServer) Configure(ctx context.Context, request *s3_pb.ConfigureRequest) (*s3_pb.ConfigureResponse, error) {
|
||||
func (s3a *S3ApiServer) Configure(ctx context.Context, request *s3_pb.S3ConfigureRequest) (*s3_pb.S3ConfigureResponse, error) {
|
||||
|
||||
if err := s3a.iam.LoadS3ApiConfigurationFromBytes(request.ConfigurationFileContent); err != nil {
|
||||
if err := s3a.iam.LoadS3ApiConfigurationFromBytes(request.S3ConfigurationFileContent); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return &s3_pb.ConfigureResponse{}, nil
|
||||
return &s3_pb.S3ConfigureResponse{}, nil
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user