aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--weed/command/iam.go2
1 files changed, 1 insertions, 1 deletions
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