From ba02534adb2cb88833da5c5e104d3e41ea098546 Mon Sep 17 00:00:00 2001 From: Daniel Mai Date: Mon, 14 Mar 2022 17:01:34 -0700 Subject: [PATCH] fix(alpha): Use peer flag for setting peer addresses. In #14 Zero was moved to Alpha with the addition of the "peer" flag. This change uses the flag instead of the removed "zero" flag. --- outserv/cmd/alpha/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/outserv/cmd/alpha/run.go b/outserv/cmd/alpha/run.go index 566916fc4..469ac5a35 100644 --- a/outserv/cmd/alpha/run.go +++ b/outserv/cmd/alpha/run.go @@ -775,7 +775,7 @@ func run() { raft := z.NewSuperFlag(Alpha.Conf.GetString("raft")).MergeAndCheckDefault(worker.RaftDefaults) x.WorkerConfig = x.WorkerOptions{ - PeerAddr: strings.Split(Alpha.Conf.GetString("zero"), ","), + PeerAddr: strings.Split(Alpha.Conf.GetString("peer"), ","), Raft: raft, WhiteListedIPRanges: ips, StrictMutations: opts.MutationsMode == worker.StrictMutations,