Skip to content

[8.13](backport #4846) [windows] if elastic-agent run fails, log error to Application EventLog #10010

[8.13](backport #4846) [windows] if elastic-agent run fails, log error to Application EventLog

[8.13](backport #4846) [windows] if elastic-agent run fails, log error to Application EventLog #10010

Triggered via pull request June 13, 2024 14:45
Status Failure
Total duration 58s
Artifacts

golangci-lint.yml

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

Annotations

14 errors and 5 warnings
lint (ubuntu-latest): internal/pkg/agent/cmd/run.go#L82
expected statement, found '<<' (typecheck)
lint (ubuntu-latest): internal/pkg/agent/cmd/run.go#L86
expected ';', found fails (typecheck)
lint (ubuntu-latest): internal/pkg/agent/cmd/run.go#L87
expected '{', found 'return' (typecheck)
lint (ubuntu-latest): internal/pkg/agent/cmd/run.go#L90
expected ';', found ',' (typecheck)
lint (ubuntu-latest): internal/pkg/agent/cmd/run.go#L91
missing ',' before newline in composite literal (typecheck)
lint (ubuntu-latest): internal/pkg/agent/cmd/run.go#L97
missing ',' before newline in composite literal (typecheck)
lint (ubuntu-latest): internal/pkg/agent/cmd/run.go#L102
missing ',' before newline in composite literal (typecheck)
lint (ubuntu-latest): internal/pkg/agent/cmd/run.go#L104
missing ',' before newline in composite literal (typecheck)
lint (ubuntu-latest): internal/pkg/agent/cmd/run.go#L105
expected '==', found '=' (typecheck)
lint (ubuntu-latest): internal/pkg/agent/cmd/run.go#L107
expected operand, found 'return' (typecheck)
lint (windows-latest)
The job was canceled because "ubuntu-latest" failed.
lint (windows-latest)
The operation was canceled.
lint (macos-latest)
The job was canceled because "ubuntu-latest" failed.
lint (macos-latest)
The operation was canceled.
lint (ubuntu-latest)
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 (ubuntu-latest)
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 (ubuntu-latest)
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 (macos-latest)
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 (macos-latest)
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']