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

api/rafthttp: fix the probing status log print
This commit is contained in:
Jingyi Hu 2019-04-24 23:05:23 -07:00 committed by GitHub
commit cca0d5c1be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {