From 9707f307a125d47cb2478a4fc3284bfa29dd86cf Mon Sep 17 00:00:00 2001 From: Tomas Dvorak Date: Thu, 24 Sep 2026 23:08:15 +0200 Subject: [PATCH] fix: silence errcheck on test-response writes Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- apps/backend/internal/storage/s3_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/backend/internal/storage/s3_test.go b/apps/backend/internal/storage/s3_test.go index 2d760ad..1f1d0b5 100644 --- a/apps/backend/internal/storage/s3_test.go +++ b/apps/backend/internal/storage/s3_test.go @@ -57,14 +57,14 @@ func (f *fakeS3) ServeHTTP(w http.ResponseWriter, r *http.Request) { } out.WriteString(``) w.Header().Set("Content-Type", "application/xml") - w.Write([]byte(out.String())) + _, _ = w.Write([]byte(out.String())) case r.Method == http.MethodGet: body, ok := f.objects[key] if !ok { http.Error(w, "no such key", http.StatusNotFound) return } - w.Write(body) + _, _ = w.Write(body) case r.Method == http.MethodDelete: delete(f.objects, key) w.WriteHeader(http.StatusNoContent)