x-pack/filebeat/input/http_endpoint: allow endpoint to receive PUT and PATCH requests #11687
Annotations
6 errors and 2 warnings
golangci-lint:
x-pack/filebeat/input/http_endpoint/input_test.go#L284
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
golangci-lint:
x-pack/filebeat/input/http_endpoint/input_test.go#L307
response body must be closed (bodyclose)
|
golangci-lint:
x-pack/filebeat/input/http_endpoint/input_test.go#L335
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
golangci-lint:
x-pack/filebeat/input/http_endpoint/input_test.go#L350
should rewrite http.NewRequestWithContext or add (*Request).WithContext (noctx)
|
golangci-lint:
x-pack/filebeat/input/http_endpoint/input_test.go#L382
Error return value of `io.Copy` is not checked (errcheck)
|
golangci-lint
issues found
|
Post golangci-lint
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
|
golangci-lint
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
|
The logs for this run have expired and are no longer available.
Loading