Merge pull request #31688 from VDVsx/memory-cache-config-warn
Don't warn when parsing storeOptions for 'memory' cache
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/backend-defaults': patch
|
||||
---
|
||||
|
||||
Don't warn when parsing `storeOptions` for `memory` cache
|
||||
@@ -134,7 +134,7 @@ export class CacheManager {
|
||||
): CacheStoreOptions | undefined {
|
||||
const storeConfigPath = `backend.cache.${store}`;
|
||||
|
||||
if (!config.has(storeConfigPath)) {
|
||||
if (store !== 'memory' && !config.has(storeConfigPath)) {
|
||||
logger?.warn(
|
||||
`No configuration found for cache store '${store}' at '${storeConfigPath}'.`,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user