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()