Skip to content

[8.16](backport #6085) Fix audit/unenroll calls when agent runs fleet-server #13993

[8.16](backport #6085) Fix audit/unenroll calls when agent runs fleet-server

[8.16](backport #6085) Fix audit/unenroll calls when agent runs fleet-server #13993

Triggered via pull request December 17, 2024 20:59
Status Failure
Total duration 6m 0s
Artifacts

golangci-lint.yml

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

Annotations

23 errors and 1 warning
lint (ubuntu-latest): internal/pkg/agent/install/uninstall.go#L169
expected statement, found '<<' (typecheck)
lint (ubuntu-latest): internal/pkg/agent/install/uninstall.go#L174
expected statement, found '==' (typecheck)
lint (ubuntu-latest): internal/pkg/agent/install/uninstall.go#L177
expected statement, found '>>' (typecheck)
lint (ubuntu-latest): internal/pkg/agent/install/uninstall.go#L186
expected '(', found notifyFleetAuditUninstall (typecheck)
lint (ubuntu-latest): internal/pkg/agent/install/uninstall.go#L237
expected '(', found EnsureStoppedService (typecheck)
lint (ubuntu-latest): internal/pkg/agent/install/uninstall.go#L254
expected '(', found checkForUnprivilegedVault (typecheck)
lint (ubuntu-latest): internal/pkg/agent/install/uninstall.go#L282
expected '(', found RemovePath (typecheck)
lint (ubuntu-latest): internal/pkg/agent/install/uninstall.go#L304
expected '(', found RemoveBut (typecheck)
lint (ubuntu-latest): internal/pkg/agent/install/uninstall.go#L328
expected '(', found containsString (typecheck)
lint (ubuntu-latest): internal/pkg/agent/install/uninstall.go#L344
expected '(', found uninstallComponents (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): internal/pkg/agent/install/uninstall.go#L169
expected statement, found '<<' (typecheck)
lint (macos-latest): internal/pkg/agent/install/uninstall.go#L174
expected statement, found '==' (typecheck)
lint (macos-latest): internal/pkg/agent/install/uninstall.go#L177
expected statement, found '>>' (typecheck)
lint (macos-latest): internal/pkg/agent/install/uninstall.go#L186
expected '(', found notifyFleetAuditUninstall (typecheck)
lint (macos-latest): internal/pkg/agent/install/uninstall.go#L237
expected '(', found EnsureStoppedService (typecheck)
lint (macos-latest): internal/pkg/agent/install/uninstall.go#L254
expected '(', found checkForUnprivilegedVault (typecheck)
lint (macos-latest): internal/pkg/agent/install/uninstall.go#L282
expected '(', found RemovePath (typecheck)
lint (macos-latest): internal/pkg/agent/install/uninstall.go#L304
expected '(', found RemoveBut (typecheck)
lint (macos-latest): internal/pkg/agent/install/uninstall.go#L328
expected '(', found containsString (typecheck)
lint (macos-latest): internal/pkg/agent/install/uninstall.go#L344
expected '(', found uninstallComponents (typecheck)
lint (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636