mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-06 12:07:51 +01:00
fix grpd dial option
This commit is contained in:
1 parent
27af11f1e8
commit
cf28108ea4
2 files changed
+12
-3
No files matched your search
@@ -52,7 +52,10 @@ func NewIamApiServer(router *mux.Router, option *IamServerOption) (iamApiServer
|
||||
option: option,
|
||||
masterClient: wdclient.NewMasterClient(option.GrpcDialOption, "", "iam", "", "", "", *pb.NewServiceDiscoveryFromMap(option.Masters)),
|
||||
}
|
||||
s3Option := s3api.S3ApiServerOption{Filer: option.Filer}
|
||||
s3Option := s3api.S3ApiServerOption{
|
||||
Filer: option.Filer,
|
||||
GrpcDialOption: option.GrpcDialOption,
|
||||
}
|
||||
iamApiServer = &IamApiServer{
|
||||
s3ApiConfig: s3ApiConfigure,
|
||||
iam: s3api.NewIdentityAccessManagement(&s3Option),
|
||||
|
||||
Reference in new issue
Block a user