mirror of
https://github.com/minio/minio.git
synced 2025-01-27 06:33:18 -05:00
fs/xl: Log warning if cache config specified (#8251)
in non-gateway mode.
This commit is contained in:
parent
5392eee250
commit
04b92124c5
@ -346,6 +346,9 @@ func serverMain(ctx *cli.Context) {
|
|||||||
logger.Fatal(err, "Unable to initialize policy system")
|
logger.Fatal(err, "Unable to initialize policy system")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if globalIsDiskCacheEnabled {
|
||||||
|
logger.StartupMessage(colorRed(colorBold("Disk caching is allowed only for gateway deployments")))
|
||||||
|
}
|
||||||
// Create new lifecycle system.
|
// Create new lifecycle system.
|
||||||
globalLifecycleSys = NewLifecycleSys()
|
globalLifecycleSys = NewLifecycleSys()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user