mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-08-27 19:37:00 +00:00
fix: fix filerAddress type mismatch in Filer command
This commit is contained in:
@@ -393,7 +393,7 @@ func (fo *FilerOptions) startFiler() {
|
||||
filer_pb.RegisterSeaweedFilerServer(grpcS, fs)
|
||||
|
||||
// IAM Service
|
||||
iamStorage, err := iam.NewFilerIamStorage(nil, func() string { return filerAddress }, security.LoadClientTLS(util.GetViper(), "grpc.filer"))
|
||||
iamStorage, err := iam.NewFilerIamStorage(nil, func() string { return filerAddress.String() }, security.LoadClientTLS(util.GetViper(), "grpc.filer"))
|
||||
if err != nil {
|
||||
glog.Errorf("Failed to initialize IAM storage: %v", err)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user