chore: Updating linter, fixing some new warnings (#88863)

This commit is contained in:
Dave Henderson
2024-06-06 13:01:27 -04:00
committed by GitHub
parent c9778c3332
commit e21d357d67
13 changed files with 106 additions and 923 deletions
@@ -1245,7 +1245,7 @@ func (nc *mockNotificationChannel) ServeHTTP(res http.ResponseWriter, req *http.
nc.receivedNotifications[key] = append(nc.receivedNotifications[key], body)
res.Header().Set("Content-Type", "application/json")
res.WriteHeader(http.StatusOK)
fmt.Fprint(res, nc.responses[paths[0]])
_, _ = fmt.Fprint(res, nc.responses[paths[0]])
}
func (nc *mockNotificationChannel) totalNotifications() int {