fix: add group annotation to WebhookConfiguration and filter watch requests #2752
Triggered via pull request
September 23, 2024 14:17
Status
Failure
Total duration
7m 42s
Artifacts
–
ci.yml
on: pull_request
Unit tests
3m 16s
Integration tests
7m 31s
Golangci-lint
1m 24s
Shellcheck
2s
Annotations
4 errors
Golangci-lint:
internal/controller/policy_subreconciler.go#L363
string `true` has 5 occurrences, make it a constant (goconst)
|
Golangci-lint:
internal/controller/policy_subreconciler_webhook.go#L21
directive `//nolint:dupl // This function is similar to the other reconcileMutatingWebhookConfiguration` is unused for linter "dupl" (nolintlint)
|
Golangci-lint:
internal/controller/policy_subreconciler_webhook.go#L114
directive `//nolint:dupl // This function is similar to the other reconcileValidatingWebhookConfiguration` is unused for linter "dupl" (nolintlint)
|
Golangci-lint
issues found
|