Skip to content

Fix bad error handling in api key auth #5175

Fix bad error handling in api key auth

Fix bad error handling in api key auth #5175

Re-run triggered September 20, 2024 16:03
Status Failure
Total duration 51s
Artifacts

golangci-lint.yml

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

Annotations

4 errors and 4 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/
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/