From d9e242012584b37cfc38b79a2d0602173ec7eb6b Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Thu, 21 May 2020 10:03:09 +0300 Subject: [PATCH] Fix build --- internal_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal_test.go b/internal_test.go index 139b290a..b1dd0bdd 100644 --- a/internal_test.go +++ b/internal_test.go @@ -9,7 +9,9 @@ var _ = Describe("newClusterState", func() { var state *clusterState createClusterState := func(slots []ClusterSlot) *clusterState { - nodes := newClusterNodes(&ClusterOptions{}) + opt := &ClusterOptions{} + opt.init() + nodes := newClusterNodes(opt) state, err := newClusterState(nodes, slots, "10.10.10.10:1234") Expect(err).NotTo(HaveOccurred()) return state