From 071c3a27e8e21246809b2da02b61fd5dd8844db9 Mon Sep 17 00:00:00 2001 From: Solly Ross Date: Mon, 12 Nov 2018 17:02:37 -0800 Subject: [PATCH] Unused param in cache.Reader Unparam is complaining of an usused param in cache.Reader in Travis (but somehow only on Travis?). This fixes that. --- pkg/cache/internal/cache_reader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cache/internal/cache_reader.go b/pkg/cache/internal/cache_reader.go index 199d0bf835..0d82c6396d 100644 --- a/pkg/cache/internal/cache_reader.go +++ b/pkg/cache/internal/cache_reader.go @@ -86,7 +86,7 @@ func (c *CacheReader) Get(_ context.Context, key client.ObjectKey, out runtime.O } // List lists items out of the indexer and writes them to out -func (c *CacheReader) List(ctx context.Context, opts *client.ListOptions, out runtime.Object) error { +func (c *CacheReader) List(_ context.Context, opts *client.ListOptions, out runtime.Object) error { var objs []interface{} var err error