From 1497213e606bde7feb81cb6141c78115a337c751 Mon Sep 17 00:00:00 2001 From: Andrey Kolkov Date: Mon, 26 Apr 2021 14:25:24 +0400 Subject: [PATCH] fix lint issues --- senders/webhook/webhook_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/senders/webhook/webhook_test.go b/senders/webhook/webhook_test.go index 1b0c891e6..88bfdac50 100644 --- a/senders/webhook/webhook_test.go +++ b/senders/webhook/webhook_test.go @@ -33,16 +33,16 @@ func TestSender_SendEvents(t *testing.T) { status, err := testRequestURL(r) if err != nil { w.WriteHeader(status) - w.Write([]byte(err.Error())) //nolint + _, _ = w.Write([]byte(err.Error())) //nolint } status, err = testRequestHeaders(r) if err != nil { w.WriteHeader(status) - w.Write([]byte(err.Error())) //nolint + _, _ = w.Write([]byte(err.Error())) //nolint } status, err = testRequestBody(r) if err != nil { - w.Write([]byte(err.Error())) //nolint + _, _ = w.Write([]byte(err.Error())) //nolint w.WriteHeader(status) } w.WriteHeader(status)