Browse Source

Merge pull request #13704 from darshanime/fix_ci

Fix lint error
pull/13714/head
Bryan Boreham 9 months ago committed by GitHub
parent
commit
4c00445540
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  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) b, err := io.ReadAll(r.Body)
if err != nil { if err != nil {
err = fmt.Errorf("error reading body: %v", err) err = fmt.Errorf("error reading body: %w", err)
w.WriteHeader(http.StatusInternalServerError) w.WriteHeader(http.StatusInternalServerError)
return return
} }

Loading…
Cancel
Save