fix get filerGrpcAddress

This commit is contained in:
Konstantin Lebedev 2021-04-06 13:53:56 +05:00
parent 011e6e90ee
commit f5f8eec8e2

View file

@ -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