use logger.Info instead of logger.LogIf

This commit is contained in:
Harshavardhana 2022-08-08 16:13:49 -07:00 committed by Minio Trusted
parent ecdc2f2f5f
commit 8eec49304d

View File

@ -578,7 +578,7 @@ func init() {
s := env.Get("_MINIO_DISK_MAX_CONCURRENT", "512")
diskMaxConcurrent, _ = strconv.Atoi(s)
if diskMaxConcurrent <= 0 {
logger.LogIf(GlobalContext, fmt.Errorf("invalid _MINIO_DISK_MAX_CONCURRENT value: %s, defaulting to '512'", s))
logger.Info("invalid _MINIO_DISK_MAX_CONCURRENT value: %s, defaulting to '512'", s)
diskMaxConcurrent = 512
}
}