fix more #3089
Annotations
10 errors and 2 warnings
apis/goharbor.io/v1beta1/harborcluster_webhook.go#L192
directive `//nolint:funlen,gocognit` is unused for linter "gocognit" (nolintlint)
|
controllers/goharbor/configuration/reconciler.go#L100
naked return in func `Reconcile` with 70 lines of code (nakedret)
|
controllers/goharbor/configuration/reconciler.go#L108
naked return in func `Reconcile` with 70 lines of code (nakedret)
|
controllers/goharbor/configuration/reconciler.go#L116
naked return in func `Reconcile` with 70 lines of code (nakedret)
|
controllers/goharbor/configuration/reconciler.go#L124
naked return in func `Reconcile` with 70 lines of code (nakedret)
|
controllers/goharbor/core/deployments.go#L442
G115: integer overflow conversion int -> int32 (gosec)
|
controllers/goharbor/harborserverconfiguration/harborserverconfiguration.go#L137
printf: non-constant format string in call to github.com/pkg/errors.Errorf (govet)
|
controllers/goharbor/internal/test/harbor-core/mock.go#L74
G115: integer overflow conversion int64 -> int32 (gosec)
|
controllers/goharbor/internal/test/init.go#L19
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator. (staticcheck)
|
controllers/goharbor/jobservice/deployments.go#L278
G115: integer overflow conversion int -> int32 (gosec)
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading