Skip to content

Commit

Permalink
Unused param in cache.Reader
Browse files Browse the repository at this point in the history
Unparam is complaining of an usused param in cache.Reader in Travis (but
somehow only on Travis?).  This fixes that.
  • Loading branch information
DirectXMan12 committed Nov 13, 2018
1 parent a9ace6b commit ef3cdb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cache/internal/cache_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ef3cdb8

Please sign in to comment.