Skip to content

[filebeat][input] - Websocket Input with CEL engine #14553

[filebeat][input] - Websocket Input with CEL engine

[filebeat][input] - Websocket Input with CEL engine #14553

Triggered via pull request February 5, 2024 20:34
Status Failure
Total duration 7m 7s
Artifacts

golangci-lint.yml

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

Annotations

16 errors and 9 warnings
lint (linux): x-pack/filebeat/input/websocket/config.go#L133
func `retryConfig.getMaxAttempts` is unused (unused)
lint (linux): x-pack/filebeat/input/websocket/config.go#L140
func `retryConfig.getWaitMin` is unused (unused)
lint (linux): x-pack/filebeat/input/websocket/config.go#L147
func `retryConfig.getWaitMax` is unused (unused)
lint (linux): x-pack/filebeat/input/websocket/input.go#L110
response body must be closed (bodyclose)
lint (linux): x-pack/filebeat/input/websocket/input.go#L409
response body must be closed (bodyclose)
lint (linux): x-pack/filebeat/input/websocket/input_test.go#L332
func `newV2Context` is unused (unused)
lint (linux): x-pack/filebeat/input/websocket/redact.go#L79
directive `//nolint:typecheck // We can ignore typecheck here since all variables are being used.` is unused for linter "typecheck" (nolintlint)
lint (linux)
issues found
lint (windows): x-pack/filebeat/input/websocket/config.go#L133
func `retryConfig.getMaxAttempts` is unused (unused)
lint (windows): x-pack/filebeat/input/websocket/config.go#L140
func `retryConfig.getWaitMin` is unused (unused)
lint (windows): x-pack/filebeat/input/websocket/config.go#L147
func `retryConfig.getWaitMax` is unused (unused)
lint (windows): x-pack/filebeat/input/websocket/input.go#L110
response body must be closed (bodyclose)
lint (windows): x-pack/filebeat/input/websocket/input.go#L409
response body must be closed (bodyclose)
lint (windows): x-pack/filebeat/input/websocket/input_test.go#L332
func `newV2Context` is unused (unused)
lint (windows): x-pack/filebeat/input/websocket/redact.go#L79
directive `//nolint:typecheck // We can ignore typecheck here since all variables are being used.` is unused for linter "typecheck" (nolintlint)
lint (windows)
issues found
lint (darwin)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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)
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']