fs/xl: Log warning if cache config specified (#8251)

in non-gateway mode.
master
poornas 5 years ago committed by Harshavardhana
parent 5392eee250
commit 04b92124c5
  1. 3
      cmd/server-main.go

@ -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…
Cancel
Save