mirror of
https://github.com/minio/minio.git
synced 2025-04-01 10:13:42 -04:00
use logger.Info instead of logger.LogIf
This commit is contained in:
parent
ecdc2f2f5f
commit
8eec49304d
@ -578,7 +578,7 @@ func init() {
|
|||||||
s := env.Get("_MINIO_DISK_MAX_CONCURRENT", "512")
|
s := env.Get("_MINIO_DISK_MAX_CONCURRENT", "512")
|
||||||
diskMaxConcurrent, _ = strconv.Atoi(s)
|
diskMaxConcurrent, _ = strconv.Atoi(s)
|
||||||
if diskMaxConcurrent <= 0 {
|
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
|
diskMaxConcurrent = 512
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user