Pārlūkot izejas kodu

Merge pull request #3883 from gyuho/raft_typo

raft: minor typo in progress.go
Xiang Li 10 gadi atpakaļ
vecāks
revīzija
14c8a1c400
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      raft/progress.go

+ 1 - 1
raft/progress.go

@@ -59,7 +59,7 @@ type Progress struct {
 	// inflights is a sliding window for the inflight messages.
 	// When inflights is full, no more message should be sent.
 	// When a leader sends out a message, the index of the last
-	// entry should be add to inflights. The index MUST be added
+	// entry should be added to inflights. The index MUST be added
 	// into inflights in order.
 	// When a leader receives a reply, the previous inflights should
 	// be freed by calling inflights.freeTo.