From dbbe0d42262518e3b6d996343f12e3225436aa5a Mon Sep 17 00:00:00 2001 From: Paul Querna Date: Tue, 15 Oct 2024 13:08:43 -0700 Subject: [PATCH] fix lint for error handling in tests --- pkg/connector/connector_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/connector/connector_test.go b/pkg/connector/connector_test.go index f3a8c98..54f04f2 100644 --- a/pkg/connector/connector_test.go +++ b/pkg/connector/connector_test.go @@ -48,9 +48,9 @@ func createConnector(ctx context.Context, t *testing.T, fixtureName string) (*LD return nil, err } fdPath := fd.Name() - fd.Close() + _ = fd.Close() t.Cleanup(func() { - os.Remove(fdPath) + _ = os.Remove(fdPath) }) err = os.WriteFile(fdPath, data, 0600)