1
0
Fork 0
mirror of https://github.com/kyverno/policy-reporter.git synced 2024-12-14 11:57:32 +00:00

use the in memory cache instance

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
This commit is contained in:
Frank Jogeleit 2023-02-08 16:25:30 +01:00
parent e10085b510
commit 580fca1ac6

View file

@ -362,7 +362,7 @@ func (r *Resolver) ResultCache() cache.Cache {
2*time.Hour,
)
} else {
r.resultCache = cache.NewInMermoryCache()
r.resultCache = r.InMemoryCache()
}
return r.resultCache