From f5f8eec8e2f75045d7cc8685dc5fb86508700d2b Mon Sep 17 00:00:00 2001 From: Konstantin Lebedev Date: Tue, 6 Apr 2021 13:53:56 +0500 Subject: [PATCH] fix get filerGrpcAddress --- weed/command/iam.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/command/iam.go b/weed/command/iam.go index ddcddbec9..17d0832cb 100644 --- a/weed/command/iam.go +++ b/weed/command/iam.go @@ -43,7 +43,7 @@ func runIam(cmd *Command, args []string) bool { } func (iamopt *IamOptions) startIamServer() bool { - filerGrpcAddress, err := pb.ParseFilerGrpcAddress(*iamopt.filer) + filerGrpcAddress, err := pb.ParseServerToGrpcAddress(*iamopt.filer) if err != nil { glog.Fatal(err) return false