From cc722a413f836f80a35629070e9010278caf7b7f Mon Sep 17 00:00:00 2001 From: Xiang Li Date: Thu, 26 Sep 2013 20:00:12 -0700 Subject: [PATCH] change peer to follower --- raft_stats.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raft_stats.go b/raft_stats.go index b5b622317..50523e56f 100644 --- a/raft_stats.go +++ b/raft_stats.go @@ -81,7 +81,7 @@ func (ss *raftServerStats) SendAppendReq(pkgSize int) { type raftFollowersStats struct { Leader string `json:"leader"` - Followers map[string]*raftFollowerStats `json:"peers"` + Followers map[string]*raftFollowerStats `json:"follwers"` } type raftFollowerStats struct {