Skip to content

x-pack/filebeat/input/http_endpoint: allow endpoint to receive PUT and PATCH requests #11687

x-pack/filebeat/input/http_endpoint: allow endpoint to receive PUT and PATCH requests

x-pack/filebeat/input/http_endpoint: allow endpoint to receive PUT and PATCH requests #11687

Triggered via pull request October 4, 2023 19:52
Status Failure
Total duration 14m 54s
Artifacts

golangci-lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 7 warnings
lint (linux): 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)
lint (linux): x-pack/filebeat/input/http_endpoint/input_test.go#L307
response body must be closed (bodyclose)
lint (linux): 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)
lint (linux): x-pack/filebeat/input/http_endpoint/input_test.go#L350
should rewrite http.NewRequestWithContext or add (*Request).WithContext (noctx)
lint (linux): x-pack/filebeat/input/http_endpoint/input_test.go#L382
Error return value of `io.Copy` is not checked (errcheck)
lint (linux)
issues found
lint (windows)
The job was canceled because "linux" failed.
lint (windows)
The operation was canceled.
lint (darwin)
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']
lint (darwin)
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']
lint (linux)
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']
lint (linux)
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']
lint (windows)
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']
lint (windows)
Failed to save: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 1
lint (windows)
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']