test(e2e): discard the deferred Close error golangci-lint flags

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-01 23:26:02 +02:00
co-authored by Claude Sonnet 5.5
parent 3d755fd57a
commit 7338d9d603
+1 -1
View File
@@ -92,7 +92,7 @@ func TestE2E_UploadTranscribeAndChat(t *testing.T) {
// 1. Upload. // 1. Upload.
f, err := os.Open(audioPath) f, err := os.Open(audioPath)
require.NoError(t, err) require.NoError(t, err)
defer f.Close() defer func() { _ = f.Close() }()
pr, pw := io.Pipe() pr, pw := io.Pipe()
mw := multipart.NewWriter(pw) mw := multipart.NewWriter(pw)
go func() { go func() {