mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -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")
|
||||
}
|
||||
|
||||
if globalIsDiskCacheEnabled {
|
||||
logger.StartupMessage(colorRed(colorBold("Disk caching is allowed only for gateway deployments")))
|
||||
}
|
||||
// Create new lifecycle system.
|
||||
globalLifecycleSys = NewLifecycleSys()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user