Skip to content

Fix linter warnings #936

Fix linter warnings

Fix linter warnings #936

Triggered via pull request December 9, 2024 22:53
Status Failure
Total duration 2m 59s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
lint: internal/common/utils/DynamicMockTranslator.go#L1
: # playbook-dispatcher/internal/common/utils
lint: internal/common/utils/misc.go#L103
undefined: io.ReadFile (typecheck)
lint: internal/api/instrumentation/probes.go#L6
could not import playbook-dispatcher/internal/common/utils (-: # playbook-dispatcher/internal/common/utils
lint: internal/common/utils/misc.go#L103
undefined: io.ReadFile) (typecheck)
lint: internal/api/controllers/public/common.go#L7
could not import playbook-dispatcher/internal/common/utils (-: # playbook-dispatcher/internal/common/utils
lint: internal/common/utils/misc.go#L103
undefined: io.ReadFile) (typecheck)
lint: internal/api/dispatch/impl.go#L10
could not import playbook-dispatcher/internal/common/utils (-: # playbook-dispatcher/internal/common/utils
lint: internal/common/utils/misc.go#L103
undefined: io.ReadFile) (typecheck)
lint
issues found
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636