From 0f0ac7811a7d8bf1fc7c6e4bc2d936930d57099a Mon Sep 17 00:00:00 2001 From: Louis Thibault Date: Tue, 3 Jan 2023 14:14:47 -0500 Subject: [PATCH] Rename server.Joiner.Router to Config. --- pkg/server/server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/server/server.go b/pkg/server/server.go index d310839e..399885ce 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -53,14 +53,14 @@ type Joiner struct { fx.In Log log.Logger `optional:"true"` - Router ClusterConfig `optional:"true"` + Cluster ClusterConfig `optional:"true"` Debugger DebugConfig `optional:"true"` } // Join the cluster. Note that callers MUST call Bootstrap() on // the returned *Node to complete the bootstrap process. func (j Joiner) Join(vat casm.Vat, r Router) (*Node, error) { - c, err := j.Router.New(vat, r, j.Log) + c, err := j.Cluster.New(vat, r, j.Log) if err != nil { return nil, err }