From f62a894ae77b6c24bce4535819595cd3e679bc67 Mon Sep 17 00:00:00 2001 From: James Blair Date: Fri, 11 Aug 2023 21:47:30 +1200 Subject: [PATCH] Fix goword failure in rafthttp/transport.go. Signed-off-by: James Blair --- server/etcdserver/api/rafthttp/transport.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/etcdserver/api/rafthttp/transport.go b/server/etcdserver/api/rafthttp/transport.go index 940e8473bc1..a1969549a92 100644 --- a/server/etcdserver/api/rafthttp/transport.go +++ b/server/etcdserver/api/rafthttp/transport.go @@ -110,7 +110,7 @@ type Transport struct { Raft Raft // raft state machine, to which the Transport forwards received messages and reports status Snapshotter *snap.Snapshotter ServerStats *stats.ServerStats // used to record general transportation statistics - // used to record transportation statistics with followers when + // LeaderStats is used to record transportation statistics with followers when // performing as leader in raft protocol LeaderStats *stats.LeaderStats // ErrorC is used to report detected critical errors, e.g.,