summaryrefslogtreecommitdiffstats
path: root/store/local_cache_supplier_schemes.go
diff options
context:
space:
mode:
Diffstat (limited to 'store/local_cache_supplier_schemes.go')
-rw-r--r--store/local_cache_supplier_schemes.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/store/local_cache_supplier_schemes.go b/store/local_cache_supplier_schemes.go
index 2f201c17b..8dd1feded 100644
--- a/store/local_cache_supplier_schemes.go
+++ b/store/local_cache_supplier_schemes.go
@@ -53,6 +53,7 @@ func (s *LocalCacheSupplier) SchemeGetAllPage(ctx context.Context, scope string,
func (s *LocalCacheSupplier) SchemePermanentDeleteAll(ctx context.Context, hints ...LayeredStoreHint) *LayeredStoreSupplierResult {
defer s.doClearCacheCluster(s.schemeCache)
+ defer s.doClearCacheCluster(s.roleCache)
return s.Next().SchemePermanentDeleteAll(ctx, hints...)
}