Skip to content

Commit 071c3a2

Browse files
committed
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.
1 parent fc38a77 commit 071c3a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cache/internal/cache_reader.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func (c *CacheReader) Get(_ context.Context, key client.ObjectKey, out runtime.O
8686
}
8787

8888
// List lists items out of the indexer and writes them to out
89-
func (c *CacheReader) List(ctx context.Context, opts *client.ListOptions, out runtime.Object) error {
89+
func (c *CacheReader) List(_ context.Context, opts *client.ListOptions, out runtime.Object) error {
9090
var objs []interface{}
9191
var err error
9292

0 commit comments

Comments
 (0)