raft: minor typo in progress.go

Fixes a minor typo.
This commit is contained in:
Gyu-Ho Lee 2015-11-17 14:21:35 -08:00
parent db4dcbf827
commit e1c108e604

View File

@ -59,7 +59,7 @@ type Progress struct {
// inflights is a sliding window for the inflight messages. // inflights is a sliding window for the inflight messages.
// When inflights is full, no more message should be sent. // When inflights is full, no more message should be sent.
// When a leader sends out a message, the index of the last // 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. // into inflights in order.
// When a leader receives a reply, the previous inflights should // When a leader receives a reply, the previous inflights should
// be freed by calling inflights.freeTo. // be freed by calling inflights.freeTo.