Merge pull request #13704 from darshanime/fix_ci

Fix lint error
This commit is contained in:
Bryan Boreham 2024-03-05 20:02:40 +00:00 committed by GitHub
commit 4c00445540
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
}