diff --git a/cmd/server-main.go b/cmd/server-main.go index 8773cb3a7..bf18c72c4 100644 --- a/cmd/server-main.go +++ b/cmd/server-main.go @@ -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()