fix: replaced printing the port with logging it when chosen dynamically (#1339)

Signed-off-by: Ana-Roberta Lisca <ana.kagome@yahoo.com>
This commit is contained in:
Lisca Ana-Roberta
2023-04-06 13:33:56 +03:00
committed by GitHub
parent 06bd8a8252
commit 28ce1c7e71
+1 -1
View File
@@ -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