From c5cb346a08129cd02d9962448d54dddcd0e03d69 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 4 Mar 2021 12:36:20 -0800 Subject: [PATCH] fix compilation error --- weed/command/server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weed/command/server.go b/weed/command/server.go index 370ebdd46..64321b4d7 100644 --- a/weed/command/server.go +++ b/weed/command/server.go @@ -165,12 +165,12 @@ func runServer(cmd *Command, args []string) bool { // ip address masterOptions.ip = serverIp masterOptions.ipBind = serverBindIp - filerOptions.masters = &peers + filerOptions.masters = masterOptions.peers filerOptions.ip = serverIp filerOptions.bindIp = serverBindIp serverOptions.v.ip = serverIp serverOptions.v.bindIp = serverBindIp - serverOptions.v.masters = &peers + serverOptions.v.masters = masterOptions.peers serverOptions.v.idleConnectionTimeout = serverTimeout serverOptions.v.dataCenter = serverDataCenter serverOptions.v.rack = serverRack