diff --git a/pkg/client/cache/store.go b/pkg/client/cache/store.go index 3419ded6638..a4e0856fec8 100644 --- a/pkg/client/cache/store.go +++ b/pkg/client/cache/store.go @@ -116,6 +116,8 @@ type cache struct { keyFunc KeyFunc } +var _ Store = &cache{} + // Add inserts an item into the cache. func (c *cache) Add(obj interface{}) error { key, err := c.keyFunc(obj)