Skip to content

Event normalization conversion optimization #12819

Event normalization conversion optimization

Event normalization conversion optimization #12819

Triggered via pull request December 6, 2023 20:37
Status Failure
Total duration 1m 28s
Artifacts

golangci-lint.yml

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

Annotations

11 errors and 6 warnings
lint (darwin): libbeat/common/event.go#L128
Consider pre-allocating `sliceValues` (prealloc)
lint (darwin): libbeat/common/event.go#L168
S1034: assigning the result of this type assertion to a variable (switch value := value.(type)) could eliminate type assertions in switch cases (gosimple)
lint (darwin): libbeat/common/event.go#L173
S1034(related information): could eliminate this type assertion (gosimple)
lint (darwin): libbeat/common/event.go#L184
S1034(related information): could eliminate this type assertion (gosimple)
lint (darwin): libbeat/common/event.go#L187
S1034(related information): could eliminate this type assertion (gosimple)
lint (darwin): libbeat/common/event_test.go#L211
type `String` is unused (unused)
lint (darwin)
issues found
lint (linux)
The job was canceled because "darwin" failed.
lint (linux)
The operation was canceled.
lint (windows)
The job was canceled because "darwin" 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)
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']