Explorar o código

raft: fix typo in raft_test.go

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee %!s(int64=8) %!d(string=hai) anos
pai
achega
d808b4686c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      raft/raft_test.go

+ 1 - 1
raft/raft_test.go

@@ -722,7 +722,7 @@ func TestLearnerLogReplication(t *testing.T) {
 
 	match := n1.getProgress(2).Match
 	if match != n2.raftLog.committed {
-		t.Errorf("progresss 2 of leader 1 wants match %d, but got %d", n2.raftLog.committed, match)
+		t.Errorf("progress 2 of leader 1 wants match %d, but got %d", n2.raftLog.committed, match)
 	}
 }