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:
Robin Brämer 2022-10-12 12:55:41 +02:00 committed by GitHub
parent 2aca844570
commit 872cb003a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -254,8 +254,9 @@ func (e *EdgeTunnelServer) Serve(ctx context.Context, connIndex uint8, protocolF
if !ok { if !ok {
return err return err
} }
e.config.Observer.SendReconnect(connIndex) 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 // Check if the connection error was from an IP issue with the host or