Skip to content

Commit

Permalink
chore: use string representation of the latency field (#42016)
Browse files Browse the repository at this point in the history
Signed-off-by: Zac Bergquist <[email protected]>
Co-authored-by: Tom Goodsell <[email protected]>
  • Loading branch information
zmb3 and tgoodsell-tempus authored May 25, 2024
1 parent 59acb8c commit 2a45d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reversetunnel/localsite.go
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ func (s *localSite) handleHeartbeat(rconn *remoteConn, ch ssh.Channel, reqC <-ch

log := logger
if roundtrip != 0 {
log = logger.WithField("latency", roundtrip)
log = logger.WithField("latency", roundtrip.String())
}
log.Debugf("Ping <- %v", rconn.conn.RemoteAddr())

Expand Down

0 comments on commit 2a45d11

Please sign in to comment.