fix more #3087
Annotations
10 errors and 2 warnings
Run make go-lint:
apis/goharbor.io/v1alpha3/harbor_types.go#L659
unused-parameter: parameter 'component' seems to be unused, consider removing or renaming it as _ (revive)
|
Run make go-lint:
apis/goharbor.io/v1alpha3/harbor_types_test.go#L6
dot-imports: should not use dot imports (revive)
|
Run make go-lint:
apis/goharbor.io/v1alpha3/harbor_types_test.go#L7
dot-imports: should not use dot imports (revive)
|
Run make go-lint:
apis/goharbor.io/v1alpha3/v1alpha3_suite_test.go#L6
dot-imports: should not use dot imports (revive)
|
Run make go-lint:
apis/goharbor.io/v1alpha3/v1alpha3_suite_test.go#L7
dot-imports: should not use dot imports (revive)
|
Run make go-lint:
apis/goharbor.io/v1beta1/harbor_types.go#L777
unused-parameter: parameter 'component' seems to be unused, consider removing or renaming it as _ (revive)
|
Run make go-lint:
apis/goharbor.io/v1beta1/harborcluster_webhook.go#L192
directive `//nolint:funlen,gocognit` is unused for linter "gocognit" (nolintlint)
|
Run make go-lint:
apis/goharbor.io/v1beta1/jobservice_webhook.go#L36
unused-parameter: parameter 'old' seems to be unused, consider removing or renaming it as _ (revive)
|
Run make go-lint:
apis/goharbor.io/v1beta1/registry_webhook.go#L36
unused-parameter: parameter 'old' seems to be unused, consider removing or renaming it as _ (revive)
|
Run make go-lint:
apis/goharbor.io/v1beta1/v1beta1_suite_test.go#L6
dot-imports: should not use dot imports (revive)
|
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/
|
Loading