x-pack/filebeat/input/http_endpoint: allow endpoint to receive PUT and PATCH requests #11687
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']
|