Skip to content

filebeat,libbeat,x-pack/filebeat: clean up state store types #28635

filebeat,libbeat,x-pack/filebeat: clean up state store types

filebeat,libbeat,x-pack/filebeat: clean up state store types #28635

Triggered via pull request March 6, 2025 20:30
Status Failure
Total duration 6m 44s
Artifacts

golangci-lint.yml

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

Annotations

10 errors and 8 warnings
lint (darwin): x-pack/filebeat/input/cel/input.go#L1351
rest declared and not used (typecheck)
lint (darwin): x-pack/filebeat/input/httpjson/input.go#L122
cannot range over m (variable of type mapstrM) (typecheck)
lint (darwin): x-pack/filebeat/input/httpjson/input.go#L127
invalid operation: cannot index m (variable of type mapstrM) (typecheck)
lint (darwin): x-pack/filebeat/input/httpjson/input.go#L145
cannot convert m (variable of type map[string]interface{}) to type mapstrM (typecheck)
lint (darwin): x-pack/filebeat/input/httpjson/input.go#L147
cannot use nil as mapstrM value in return statement (typecheck)
lint (darwin)
issues found
lint (windows)
The job was canceled because "darwin" failed.
lint (windows)
The operation was canceled.
lint (linux)
The job was canceled because "darwin" failed.
lint (linux)
The operation was canceled.
lint (darwin)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'verify', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
lint (darwin)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'verify', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
lint (windows)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'verify', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
lint (windows)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
lint (windows)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'verify', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
lint (linux)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'verify', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
lint (linux)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
lint (linux)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'verify', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']