Skip to content

Display correct key path to user for agent options #17986

Display correct key path to user for agent options

Display correct key path to user for agent options #17986

Triggered via pull request January 7, 2025 17:31
Status Failure
Total duration 4m 33s
Artifacts

golangci-lint.yml

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

Annotations

6 errors and 1 warning
lint (macos-latest): server/fleet/agent_options.go#L422
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
lint (macos-latest): server/fleet/agent_options.go#L424
S1034(related information): could eliminate this type assertion (gosimple)
lint (macos-latest)
Process completed with exit code 2.
lint (ubuntu-latest): server/fleet/agent_options.go#L422
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
lint (ubuntu-latest): server/fleet/agent_options.go#L424
S1034(related information): could eliminate this type assertion (gosimple)
lint (ubuntu-latest)
Process completed with exit code 2.
lint (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636