Skip to content

Commit 872cb00

Browse files
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 <[email protected]>
1 parent 2aca844 commit 872cb00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

supervisor/tunnel.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,9 @@ func (e *EdgeTunnelServer) Serve(ctx context.Context, connIndex uint8, protocolF
254254
if !ok {
255255
return err
256256
}
257+
257258
e.config.Observer.SendReconnect(connIndex)
258-
connLog.Logger().Info().Msgf("Retrying connection in up to %s seconds", duration)
259+
connLog.Logger().Info().Msgf("Retrying connection in up to %s", duration)
259260
}
260261

261262
// Check if the connection error was from an IP issue with the host or

0 commit comments

Comments
 (0)