From 04621ad3df494d9a6436c1980b0357dfa3cdbf0a Mon Sep 17 00:00:00 2001 From: Caleb Hurshman Date: Wed, 20 Nov 2024 15:12:19 -0500 Subject: [PATCH] lint --- receiver/splunksearchapireceiver/receiver_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/receiver/splunksearchapireceiver/receiver_test.go b/receiver/splunksearchapireceiver/receiver_test.go index a5623a868..1a2c30778 100644 --- a/receiver/splunksearchapireceiver/receiver_test.go +++ b/receiver/splunksearchapireceiver/receiver_test.go @@ -191,7 +191,7 @@ type mockStorage struct { Value []byte } -func (m *mockStorage) Get(ctx context.Context, key string) ([]byte, error) { +func (m *mockStorage) Get(_ context.Context, _ string) ([]byte, error) { return []byte(m.Value), nil } @@ -202,14 +202,14 @@ func (m *mockStorage) Set(ctx context.Context, key string, value []byte) error { return args.Error(0) } -func (m *mockStorage) Batch(ctx context.Context, op ...storage.Operation) error { +func (m *mockStorage) Batch(_ context.Context, _ ...storage.Operation) error { return nil } -func (m *mockStorage) Close(ctx context.Context) error { +func (m *mockStorage) Close(_ context.Context) error { return nil } -func (m *mockStorage) Delete(ctx context.Context, key string) error { +func (m *mockStorage) Delete(_ context.Context, _ string) error { return nil }