Browse Source

Merge pull request #1758 from matschaffer/patch-1

Metric name typo
pull/1766/head
Ryan Breen 9 years ago
parent
commit
6f5b783da9
  1. 2
      vendor/github.com/hashicorp/raft/raft.go

2
vendor/github.com/hashicorp/raft/raft.go generated vendored

@ -648,7 +648,7 @@ func (r *Raft) runFollower() {
} else {
r.logger.Printf("[WARN] raft: Heartbeat timeout reached, starting election")
metrics.IncrCounter([]string{"raft", "transition", "heartbeat_timout"}, 1)
metrics.IncrCounter([]string{"raft", "transition", "heartbeat_timeout"}, 1)
r.setState(Candidate)
return
}

Loading…
Cancel
Save