From 28ce1c7e71f3505ce6b2560835231599f20b23ce Mon Sep 17 00:00:00 2001 From: Lisca Ana-Roberta <55219463+aokirisaki@users.noreply.github.com> Date: Thu, 6 Apr 2023 13:33:56 +0300 Subject: [PATCH] fix: replaced printing the port with logging it when chosen dynamically (#1339) Signed-off-by: Ana-Roberta Lisca --- pkg/cli/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cli/root.go b/pkg/cli/root.go index f29cdf5c..462ca697 100644 --- a/pkg/cli/root.go +++ b/pkg/cli/root.go @@ -708,7 +708,7 @@ func validateHTTP(config *config.Config) error { return errors.ErrBadConfig } - fmt.Printf("HTTP port %d\n", port) + log.Info().Msgf("HTTP port %d\n", port) } return nil