Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
vmihailenco committed May 21, 2020
1 parent 8f52186 commit d9e2420
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d9e2420

Please sign in to comment.