Skip to content

Regex support for incuding labels and annotations in elastic-agent-autodiscovery library #94

Regex support for incuding labels and annotations in elastic-agent-autodiscovery library

Regex support for incuding labels and annotations in elastic-agent-autodiscovery library #94

Triggered via pull request September 19, 2023 13:47
Status Failure
Total duration 2m 8s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
lint: kubernetes/metadata/resource.go#L184
S1002: should omit comparison to bool constant, can be simplified to `matched` (gosimple)
lint: kubernetes/metadata/resource.go#L193
ineffectual assignment to matched (ineffassign)
lint: kubernetes/metadata/resource_test.go#L268
ST1003: should not use underscores in Go names; var Labels_dedot should be LabelsDedot (stylecheck)
lint: kubernetes/metadata/resource_test.go#L288
ST1003: should not use underscores in Go names; var expected_result1 should be expectedResult1 (stylecheck)
lint: kubernetes/metadata/resource_test.go#L304
ST1003: should not use underscores in Go names; var expected_result2 should be expectedResult2 (stylecheck)
lint: kubernetes/metadata/resource_test.go#L313
ST1003: should not use underscores in Go names; var expected_result3 should be expectedResult3 (stylecheck)
lint: kubernetes/metadata/resource_test.go#L322
ST1003: should not use underscores in Go names; var expected_result4 should be expectedResult4 (stylecheck)
lint: kubernetes/metadata/resource_test.go#L332
ST1003: should not use underscores in Go names; var expected_result5 should be expectedResult5 (stylecheck)
lint: kubernetes/metadata/resource_test.go#L347
ST1003: should not use underscores in Go names; var expected_result6 should be expectedResult6 (stylecheck)
lint
issues found
lint
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint
The `set-output` 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
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']