From 93bac031137534335119c05634a6cd85c2d09225 Mon Sep 17 00:00:00 2001 From: WenyXu Date: Mon, 13 May 2024 11:15:51 +0000 Subject: [PATCH] chore: apply suggestions from CR --- src/common/meta/src/cache/registry.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/common/meta/src/cache/registry.rs b/src/common/meta/src/cache/registry.rs index 44ef5722a7f7..fc1b32466a87 100644 --- a/src/common/meta/src/cache/registry.rs +++ b/src/common/meta/src/cache/registry.rs @@ -65,8 +65,7 @@ impl CacheInvalidator for LayeredCacheRegistry { for registry in &self.layers { results.push(registry.invalidate(ctx, caches).await); } - results.into_iter().collect::>>()?; - Ok(()) + results.into_iter().collect::>>().map(()) } }