Browse Source

Fix pipeline golangci-lint error

Signed-off-by: darshanime <deathbullet@gmail.com>
pull/13704/head
darshanime 9 months ago
parent
commit
61ce18950f
  1. 2
      notifier/notifier_test.go

2
notifier/notifier_test.go

@ -119,7 +119,7 @@ func newTestHTTPServerBuilder(expected *[]*Alert, errc chan<- error, u, p string
b, err := io.ReadAll(r.Body)
if err != nil {
err = fmt.Errorf("error reading body: %v", err)
err = fmt.Errorf("error reading body: %w", err)
w.WriteHeader(http.StatusInternalServerError)
return
}

Loading…
Cancel
Save