mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-20 07:19:23 +08:00
avoid grpc name conflict
fix https://github.com/chrislusf/seaweedfs/issues/3055
This commit is contained in:
@@ -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