0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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