Skip to content

🐛 Fix custom path for webhooks conflict #3457

🐛 Fix custom path for webhooks conflict

🐛 Fix custom path for webhooks conflict #3457

Re-run triggered March 16, 2025 10:55
Status Failure
Total duration 2m 42s
Artifacts

golangci-lint.yml

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

Annotations

4 errors and 4 warnings
lint: pkg/builder/webhook_test.go#L832
string `/custom-path` has 3 occurrences, make it a constant (goconst)
lint: pkg/builder/webhook.go#L174
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
lint: pkg/builder/webhook.go#L175
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint
issues found
lint (tools/setup-envtest)
Cache not found for keys: golangci-lint.cache-Linux-tools/setup-envtest-2880-5eea964c5a2b10d7bcc6e9aad12d3ccc17e50ab2, golangci-lint.cache-Linux-tools/setup-envtest-2880-
lint (tools/setup-envtest)
Cache not found for keys: setup-go-Linux-x64-ubuntu24-go-1.23.0-817898458f2c55b2f35ea61319de606da97d08fd3447f71bc6e7c61b2bac1fa6
lint
Cache not found for keys: golangci-lint.cache-Linux-2880-b1069c946a71af5fecbde615175cdc37dafae5b4, golangci-lint.cache-Linux-2880-
lint
Cache not found for keys: setup-go-Linux-x64-ubuntu24-go-1.23.0-817898458f2c55b2f35ea61319de606da97d08fd3447f71bc6e7c61b2bac1fa6