Removes leader_lease_timeout from stats.

This commit is contained in:
James Phillips 2016-08-25 15:39:19 -07:00
parent 17b70c7efd
commit 80d1d88590
No known key found for this signature in database
GPG Key ID: 77183E682AC5FC11
1 changed files with 5 additions and 6 deletions

View File

@ -825,7 +825,6 @@ func (s *Server) Stats() map[string]map[string]string {
"leader_addr": string(s.raft.Leader()),
"bootstrap": fmt.Sprintf("%v", s.config.Bootstrap),
"known_datacenters": toString(uint64(numKnownDCs)),
"leader_lease_timeout": fmt.Sprintf("%v", s.config.RaftConfig.LeaderLeaseTimeout),
},
"raft": s.raft.Stats(),
"serf_lan": s.serfLAN.Stats(),