Fix goword failure in rafthttp/transport.go.

Signed-off-by: James Blair <mail@jamesblair.net>
This commit is contained in:
James Blair
2023-08-11 21:47:30 +12:00
parent 9c7c8c6b3f
commit f62a894ae7

View File

@@ -110,7 +110,7 @@ type Transport struct {
Raft Raft // raft state machine, to which the Transport forwards received messages and reports status Raft Raft // raft state machine, to which the Transport forwards received messages and reports status
Snapshotter *snap.Snapshotter Snapshotter *snap.Snapshotter
ServerStats *stats.ServerStats // used to record general transportation statistics 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 // performing as leader in raft protocol
LeaderStats *stats.LeaderStats LeaderStats *stats.LeaderStats
// ErrorC is used to report detected critical errors, e.g., // ErrorC is used to report detected critical errors, e.g.,