log: Do not interpret verbs in object names in console output (#16233)

This commit is contained in:
Anis Elleuch
2022-12-13 17:27:40 +01:00
committed by GitHub
parent 2d60bf8c50
commit 939c0100a6
3 changed files with 10 additions and 3 deletions

View File

@@ -541,7 +541,7 @@ func serverMain(ctx *cli.Context) {
maxProcs := runtime.GOMAXPROCS(0)
cpuProcs := runtime.NumCPU()
if maxProcs < cpuProcs {
logger.Info(color.RedBold("WARNING: Detected GOMAXPROCS(%d) < NumCPU(%d), please make sure to provide all PROCS to MinIO for optimal performance", maxProcs, cpuProcs))
logger.Info(color.RedBoldf("WARNING: Detected GOMAXPROCS(%d) < NumCPU(%d), please make sure to provide all PROCS to MinIO for optimal performance", maxProcs, cpuProcs))
}
// Configure server.