mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 22:16:15 +03:00
fs/xl: Log warning if cache config specified (#8251)
in non-gateway mode.
This commit is contained in:
@@ -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()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user