Browse Source

Merge pull request #10672 from nolouch/fix-probing-log

api/rafthttp: fix the probing status log print
Jingyi Hu 6 years ago
parent
commit
cca0d5c1be
1 changed files with 2 additions and 2 deletions
  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 {