From 2377bada68947ca20a2755a7f93adc6d3573050a Mon Sep 17 00:00:00 2001 From: Paul Morie Date: Wed, 11 Nov 2015 16:20:56 -0500 Subject: [PATCH] Add implements assertion for cache --- pkg/client/cache/store.go | 2 ++ 1 file changed, 2 insertions(+) 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)