Fix log message
printing `seconds` is superfluous since time.Duration already adds the `s` suffix Invalid log message would be ``` Retrying connection in up to 1s seconds ```
This commit is contained in:
parent
a1d485eca5
commit
095e37cf12
|
@ -180,7 +180,7 @@ func ServeTunnelLoop(
|
||||||
if !ok {
|
if !ok {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
connLog.Logger().Info().Msgf("Retrying connection in up to %s seconds", duration)
|
connLog.Logger().Info().Msgf("Retrying connection in up to %s", duration)
|
||||||
|
|
||||||
select {
|
select {
|
||||||
case <-ctx.Done():
|
case <-ctx.Done():
|
||||||
|
|
Loading…
Reference in New Issue