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:
parent
2aca844570
commit
872cb003a4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue