From 8f72368070ec8335b7534f7c53d814bf98d9ca79 Mon Sep 17 00:00:00 2001 From: gavwu Date: Sun, 14 Jun 2020 12:56:56 +0800 Subject: [PATCH] raft: fix typo --- raft/read_only.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raft/read_only.go b/raft/read_only.go index 19632e659..b25a28d19 100644 --- a/raft/read_only.go +++ b/raft/read_only.go @@ -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.