aboutsummaryrefslogtreecommitdiff
path: root/weed/iamapi/iamapi_server.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-09-14 10:37:06 -0700
committerChris Lu <chris.lu@gmail.com>2021-09-14 10:37:06 -0700
commit2789d10342b89691898ae1da774842c5b1ad261d (patch)
tree9b9be0e84e7d546c48a139d98b56ec288e1fda7b /weed/iamapi/iamapi_server.go
parent119d5908dd52b159c275bad10007daaf62188df0 (diff)
downloadseaweedfs-2789d10342b89691898ae1da774842c5b1ad261d.tar.xz
seaweedfs-2789d10342b89691898ae1da774842c5b1ad261d.zip
go fmt
Diffstat (limited to 'weed/iamapi/iamapi_server.go')
-rw-r--r--weed/iamapi/iamapi_server.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/weed/iamapi/iamapi_server.go b/weed/iamapi/iamapi_server.go
index c8ff1042e..9fea30780 100644
--- a/weed/iamapi/iamapi_server.go
+++ b/weed/iamapi/iamapi_server.go
@@ -33,10 +33,10 @@ type IamS3ApiConfigure struct {
}
type IamServerOption struct {
- Masters []pb.ServerAddress
- Filer pb.ServerAddress
- Port int
- GrpcDialOption grpc.DialOption
+ Masters []pb.ServerAddress
+ Filer pb.ServerAddress
+ Port int
+ GrpcDialOption grpc.DialOption
}
type IamApiServer struct {
@@ -49,7 +49,7 @@ var s3ApiConfigure IamS3ApiConfig
func NewIamApiServer(router *mux.Router, option *IamServerOption) (iamApiServer *IamApiServer, err error) {
s3ApiConfigure = IamS3ApiConfigure{
option: option,
- masterClient: wdclient.NewMasterClient(option.GrpcDialOption, pb.AdminShellClient, "", "",option.Masters),
+ masterClient: wdclient.NewMasterClient(option.GrpcDialOption, pb.AdminShellClient, "", "", option.Masters),
}
s3Option := s3api.S3ApiServerOption{Filer: option.Filer}
iamApiServer = &IamApiServer{