From decc0d5f437fd39385162a18e224516778e9f6cc Mon Sep 17 00:00:00 2001 From: nolouch Date: Tue, 23 Apr 2019 19:51:34 +0800 Subject: [PATCH] api/rafthttp: fix the probing status print Signed-off-by: nolouch --- etcdserver/api/rafthttp/probing_status.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etcdserver/api/rafthttp/probing_status.go b/etcdserver/api/rafthttp/probing_status.go index 4d10ec87d..474d9a0e4 100644 --- a/etcdserver/api/rafthttp/probing_status.go +++ b/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 {