raftpb: clean up naming in ConfChange

This commit is contained in:
Tobias Schottdorf
2019-07-23 00:34:46 +02:00
parent b67303c6a2
commit b9c051e7a7
15 changed files with 186 additions and 173 deletions

View File

@ -1016,7 +1016,7 @@ func TestSnapshot(t *testing.T) {
}
}()
srv.snapshot(1, raftpb.ConfState{Nodes: []uint64{1}})
srv.snapshot(1, raftpb.ConfState{Voters: []uint64{1}})
<-ch
<-ch
}