go: remove unused parameters

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-03-20 11:03:36 +01:00
parent 822d7823f8
commit 0036b24266
106 changed files with 320 additions and 323 deletions

View file

@ -77,7 +77,7 @@ type stubClient struct {
client.Client
}
func (c *stubClient) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error {
func (c *stubClient) List(_ context.Context, list client.ObjectList, _ ...client.ListOption) error {
list.(*corev1.NodeList).Items = c.nodes
return c.listErr
}