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