Simplify membership interface: Does not pass the 'unused' token.

This commit is contained in:
Piotr Tabor
2021-04-02 17:22:19 +02:00
parent 4725567d5e
commit a70386a1a4
7 changed files with 25 additions and 26 deletions

View File

@@ -230,7 +230,7 @@ func TestConfigChangeBlocksApply(t *testing.T) {
func TestProcessDuplicatedAppRespMessage(t *testing.T) {
n := newNopReadyNode()
cl := membership.NewCluster(zap.NewExample(), "abc")
cl := membership.NewCluster(zap.NewExample())
rs := raft.NewMemoryStorage()
p := mockstorage.NewStorageRecorder("")