Skip to content

Commit

Permalink
chore: use string representation of the latency field
Browse files Browse the repository at this point in the history
Signed-off-by: Zac Bergquist <[email protected]>
  • Loading branch information
tgoodsell-tempus authored and github-actions committed May 25, 2024
1 parent 25497b9 commit 01df7d4
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 @@ -747,7 +747,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 01df7d4

Please sign in to comment.