set iam ip from filer

This commit is contained in:
Konstantin Lebedev 2022-03-23 13:45:51 +05:00
parent e48764be75
commit 105bcfdbd4

View file

@ -103,7 +103,7 @@ func init() {
// start iam on filer
filerStartIam = cmdFiler.Flag.Bool("iam", false, "whether to start IAM service")
filerIamOptions.ip = f.ip
filerIamOptions.ip = cmdIam.Flag.String("iam.ip", *f.ip, "iam server http listen ip address")
filerIamOptions.port = cmdFiler.Flag.Int("iam.port", 8111, "iam server http listen port")
}