mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-05 00:50:24 +08:00
Fix log message (#591)
printing `seconds` is superfluous since time.Duration already adds the `s` suffix Invalid log message would be ``` Retrying connection in up to 1s seconds ``` Co-authored-by: João Oliveirinha <joliveirinha@cloudflare.com>
This commit is contained in:
@@ -254,8 +254,9 @@ func (e *EdgeTunnelServer) Serve(ctx context.Context, connIndex uint8, protocolF
|
||||
if !ok {
|
||||
return err
|
||||
}
|
||||
|
||||
e.config.Observer.SendReconnect(connIndex)
|
||||
connLog.Logger().Info().Msgf("Retrying connection in up to %s seconds", duration)
|
||||
connLog.Logger().Info().Msgf("Retrying connection in up to %s", duration)
|
||||
}
|
||||
|
||||
// Check if the connection error was from an IP issue with the host or
|
||||
|
||||
Reference in New Issue
Block a user