From 095e37cf12ce8bb9a526fbd5a8d5af8a1b73da61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Br=C3=A4mer?= Date: Thu, 3 Mar 2022 14:18:56 +0100 Subject: [PATCH] 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 ``` --- supervisor/tunnel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervisor/tunnel.go b/supervisor/tunnel.go index bca5e081..f477b376 100644 --- a/supervisor/tunnel.go +++ b/supervisor/tunnel.go @@ -180,7 +180,7 @@ func ServeTunnelLoop( if !ok { 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 { case <-ctx.Done():