Преглед на файлове

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

rafthttp: make health check meaning clearer
Anthony Romano преди 9 години
родител
ревизия
1c9e0a0e33
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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)