From d2ec62656d347469b1f14a8350f5c5b1cfc42420 Mon Sep 17 00:00:00 2001 From: Tuan Vuong Date: Wed, 23 Feb 2022 12:01:54 +0700 Subject: [PATCH] initialize master address in iam options --- weed/command/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/weed/command/server.go b/weed/command/server.go index bab77de15..1c0927c76 100644 --- a/weed/command/server.go +++ b/weed/command/server.go @@ -190,6 +190,7 @@ func runServer(cmd *Command, args []string) bool { filerOptions.ip = serverIp filerOptions.bindIp = serverBindIp s3Options.bindIp = serverBindIp + iamOptions.masters = masterOptions.peers serverOptions.v.ip = serverIp serverOptions.v.bindIp = serverBindIp serverOptions.v.masters = pb.ServerAddresses(*masterOptions.peers).ToAddresses()