Browse Source

api/rafthttp: fix the probing status print

Signed-off-by: nolouch <nolouch@gmail.com>
nolouch 6 years ago
parent
commit
decc0d5f43
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",
 						"prober found high clock drift",
 						zap.String("round-tripper-name", roundTripperName),
 						zap.String("round-tripper-name", roundTripperName),
 						zap.String("remote-peer-id", id),
 						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()),
 						zap.Error(s.Err()),
 					)
 					)
 				} else {
 				} else {