From 149e049f046b8a2014c63e4a2f7ae4ec115861d5 Mon Sep 17 00:00:00 2001 From: Jiquan Long Date: Fri, 7 Jan 2022 17:51:33 +0800 Subject: [PATCH] [skip e2e] Add implementation assertion for Cache (#15022) Signed-off-by: dragondriver --- internal/proxy/meta_cache.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/proxy/meta_cache.go b/internal/proxy/meta_cache.go index 24a1810bc0..e433735668 100644 --- a/internal/proxy/meta_cache.go +++ b/internal/proxy/meta_cache.go @@ -66,6 +66,8 @@ type partitionInfo struct { createdUtcTimestamp uint64 } +var _ Cache = (*MetaCache)(nil) + // MetaCache implements Cache, provides collection meta cache based on internal RootCoord type MetaCache struct { client types.RootCoord