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:
parent
e10085b510
commit
580fca1ac6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue