Просмотр исходного кода

api/rafthttp: fix the probing status print

Signed-off-by: nolouch <nolouch@gmail.com>
nolouch 6 лет назад
Родитель
Сommit
decc0d5f43
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      etcdserver/api/rafthttp/probing_status.go

+ 2 - 2
etcdserver/api/rafthttp/probing_status.go

@@ -87,8 +87,8 @@ func monitorProbingStatus(lg *zap.Logger, s probing.Status, id string, roundTrip
 						"prober found high clock drift",
 						zap.String("round-tripper-name", roundTripperName),
 						zap.String("remote-peer-id", id),
-						zap.Duration("clock-drift", s.SRTT()),
-						zap.Duration("rtt", s.ClockDiff()),
+						zap.Duration("clock-drift", s.ClockDiff()),
+						zap.Duration("rtt", s.SRTT()),
 						zap.Error(s.Err()),
 					)
 				} else {