raft: fix typo

This commit is contained in:
gavwu 2020-06-14 12:56:56 +08:00
parent 3082a7d521
commit 8f72368070

View File

@ -49,7 +49,7 @@ func newReadOnly(option ReadOnlyOption) *readOnly {
}
}
// addRequest adds a read only reuqest into readonly struct.
// addRequest adds a read only request into readonly struct.
// `index` is the commit index of the raft state machine when it received
// the read only request.
// `m` is the original read only request message from the local or remote node.