chore: update linter.

This commit is contained in:
Ludovic Fernandez
2021-03-04 09:02:03 +01:00
committed by GitHub
parent ec0d03658d
commit 2e7833df49
21 changed files with 179 additions and 140 deletions

View File

@@ -147,8 +147,8 @@ func (b blackHoleResponseWriter) Header() http.Header {
return http.Header{}
}
func (b blackHoleResponseWriter) Write(bytes []byte) (int, error) {
return len(bytes), nil
func (b blackHoleResponseWriter) Write(data []byte) (int, error) {
return len(data), nil
}
func (b blackHoleResponseWriter) WriteHeader(statusCode int) {}