Browse Source

Merge pull request #5886 from heyitsanthony/health-check-str

rafthttp: make health check meaning clearer
Anthony Romano 9 years ago
parent
commit
1c9e0a0e33
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rafthttp/probing_status.go

+ 1 - 1
rafthttp/probing_status.go

@@ -48,7 +48,7 @@ func monitorProbingStatus(s probing.Status, id string) {
 		select {
 		case <-time.After(statusMonitoringInterval):
 			if !s.Health() {
-				plog.Warningf("health check for peer %s failed", id)
+				plog.Warningf("health check for peer %s could not connect", id)
 			}
 			if s.ClockDiff() > time.Second {
 				plog.Warningf("the clock difference against peer %s is too high [%v > %v]", id, s.ClockDiff(), time.Second)