Update rawnode.go (#301)

fix typo.
This commit is contained in:
dengtianhei 2021-11-10 17:27:06 +08:00 committed by GitHub
parent 556518011f
commit d6bc38004a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,7 +158,7 @@ func (rn *RawNode) Advance(rd Ready) {
// Your Code Here (2A).
}
// GetProgress return the the Progress of this node and its peers, if this
// GetProgress return the Progress of this node and its peers, if this
// node is leader.
func (rn *RawNode) GetProgress() map[uint64]Progress {
prs := make(map[uint64]Progress)