aboutsummaryrefslogtreecommitdiff
path: root/weed/command/master_follower.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command/master_follower.go')
-rw-r--r--weed/command/master_follower.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/weed/command/master_follower.go b/weed/command/master_follower.go
index 949743b3e..b628f7abf 100644
--- a/weed/command/master_follower.go
+++ b/weed/command/master_follower.go
@@ -109,11 +109,9 @@ func startMasterFollower(masterOptions MasterOptions) {
return
}
-
option := masterOptions.toMasterOption(nil)
option.IsFollower = true
-
r := mux.NewRouter()
ms := weed_server.NewMasterServer(r, option, masters)
listeningAddress := *masterOptions.ipBind + ":" + strconv.Itoa(*masterOptions.port)