Migration to kubebuilder v4 #3
Annotations
10 errors and 1 warning
Run linter:
internal/webhook/serving/v1/service_webhook_test.go#L87
Error return value of `k8sClient.Delete` is not checked (errcheck)
|
Run linter:
internal/webhook/serving/v1/service_webhook_test.go#L151
Error return value of `k8sClient.Delete` is not checked (errcheck)
|
Run linter:
internal/webhook/serving/v1/service_webhook_test.go#L160
Error return value of `k8sClient.Delete` is not checked (errcheck)
|
Run linter:
internal/webhook/serving/v1/service_webhook.go#L77
SA4023: this comparison is always true (staticcheck)
|
Run linter:
internal/webhook/serving/v1/service_webhook.go#L76
SA4023(related information): the lhs of the comparison is the 1st return value of this function call (staticcheck)
|
Run linter
SA4023(related information): (*k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta).GetObjectMeta never returns a nil interface value (staticcheck)
|
Run linter:
internal/webhook/serving/v1/service_webhook.go#L86
SA4023: this comparison is never true (staticcheck)
|
Run linter:
internal/webhook/serving/v1/service_webhook.go#L85
SA4023(related information): the lhs of the comparison is the 1st return value of this function call (staticcheck)
|
Run linter:
internal/controller/utils/utils.go#L122
string `Managed` has 3 occurrences, make it a constant (goconst)
|
Run linter:
internal/controller/utils/init.go#L47
comment-spacings: no space between comment delimiter and comment text (revive)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading