From fa71971fcfb59e4c6035265b04a568bf1d69dfa0 Mon Sep 17 00:00:00 2001 From: akanshat Date: Sat, 23 Oct 2021 16:46:02 +0530 Subject: [PATCH] implement Cache interface on groupcache --- pkg/cache/groupcache.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/cache/groupcache.go b/pkg/cache/groupcache.go index e8a7840dc69..bd96c334810 100644 --- a/pkg/cache/groupcache.go +++ b/pkg/cache/groupcache.go @@ -261,3 +261,7 @@ func (c *Groupcache) Fetch(ctx context.Context, keys []string) map[string][]byte return data } + +func (c *Groupcache) Name() string { + return c.group.Name() +}