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)