Skip to content

[8.x](backport #3935) Fix bad error handling in api key auth #5178

[8.x](backport #3935) Fix bad error handling in api key auth

[8.x](backport #3935) Fix bad error handling in api key auth #5178

Triggered via pull request September 20, 2024 16:58
Status Failure
Total duration 4m 21s
Artifacts

golangci-lint.yml

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

Annotations

4 errors and 3 warnings
lint (linux): internal/pkg/apikey/auth.go#L39
undefined: elasticsearch (typecheck)
lint (linux): internal/pkg/apikey/auth.go#L41
token declared and not used (typecheck)
lint (linux): internal/pkg/apikey/auth_test.go#L23
undefined: elasticsearch (typecheck)
lint (linux)
issues found
lint (linux)
The following actions uses node12 which is deprecated and will be forced to run on node16: golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint (linux)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint (linux)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/