Skip to content

Implement Blocker to block header patterns #210

Implement Blocker to block header patterns

Implement Blocker to block header patterns #210

Triggered via push January 9, 2025 14:45
Status Failure
Total duration 51s
Artifacts
lint and test
33s
lint and test
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
lint and test: proxymw/blocker_test.go#L61
httpNoBody: http.NoBody should be preferred to the nil request body (gocritic)
lint and test: proxymw/blocker_test.go#L78
httpNoBody: http.NoBody should be preferred to the nil request body (gocritic)
lint and test: proxymw/blocker_test.go#L96
The copy of the 'for' variable "tt" can be deleted (Go 1.22+) (copyloopvar)
lint and test: proxymw/blocker_test.go#L39
fmt.Errorf can be replaced with errors.New (perfsprint)
lint and test
issues found
lint and test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636