Skip to content

Replace github.com/coreos/go-systemd/v22/sdjournal by journalctl #20652

Replace github.com/coreos/go-systemd/v22/sdjournal by journalctl

Replace github.com/coreos/go-systemd/v22/sdjournal by journalctl #20652

Triggered via pull request July 1, 2024 22:12
Status Failure
Total duration 8m 3s
Artifacts

golangci-lint.yml

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

Annotations

12 errors and 8 warnings
lint (linux): filebeat/input/journald/config.go#L108
var `errInvalidSeekFallback` is unused (unused)
lint (linux): filebeat/input/journald/config.go#L110
var `errInvalidSeekSince` is unused (unused)
lint (linux): filebeat/input/journald/environment_test.go#L34
ST1019: package "github.com/elastic/beats/v7/filebeat/input/v2" is being imported more than once (stylecheck)
lint (linux): filebeat/input/journald/environment_test.go#L35
ST1019(related information): other import of "github.com/elastic/beats/v7/filebeat/input/v2" (stylecheck)
lint (linux): filebeat/input/journald/environment_test.go#L95
Error return value of `grp.Stop` is not checked (errcheck)
lint (linux): filebeat/input/journald/environment_test.go#L98
Error return value of `inp.Run` is not checked (errcheck)
lint (linux): filebeat/input/journald/environment_test.go#L125
func `(*inputTestingEnvironment).waitUntilInputStops` is unused (unused)
lint (linux): filebeat/input/journald/environment_test.go#L129
func `(*inputTestingEnvironment).abspath` is unused (unused)
lint (linux): filebeat/input/journald/environment_test.go#L133
func `(*inputTestingEnvironment).mustWriteFile` is unused (unused)
lint (linux): filebeat/input/journald/environment_test.go#L196
S1011: should replace loop with `c.published = append(c.published, events...)` (gosimple)
lint (windows)
The job was canceled because "linux" failed.
lint (windows)
The operation was canceled.
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)
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']