Skip to content

Enable linters enabled by openstack-k8s-operators #942

Enable linters enabled by openstack-k8s-operators

Enable linters enabled by openstack-k8s-operators #942

Triggered via push October 14, 2024 10:36
Status Failure
Total duration 2m 23s
Artifacts

tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Linting: cmd/manager/manager.go#L73
redefines-builtin-id: redefinition of the built-in function new (revive)
Linting: cmd/manager/manager.go#L102
redefines-builtin-id: redefinition of the built-in function new (revive)
Linting: cmd/manager/manager.go#L153
redefines-builtin-id: redefinition of the built-in function new (revive)
Linting: plugins/handler/sensubility-metrics/main.go#L34
unused-parameter: parameter 'epf' seems to be unused, consider removing or renaming it as _ (revive)
Linting: plugins/handler/events/main.go#L24
unused-parameter: parameter 'sendMetric' seems to be unused, consider removing or renaming it as _ (revive)
Linting: plugins/handler/events/main.go#L62
unused-parameter: parameter 'sendEvent' seems to be unused, consider removing or renaming it as _ (revive)
Linting: plugins/handler/ceilometer-metrics/main.go#L45
unused-parameter: parameter 'epf' seems to be unused, consider removing or renaming it as _ (revive)
Linting: plugins/transport/amqp1/main.go#L64
unused-parameter: parameter 'done' seems to be unused, consider removing or renaming it as _ (revive)
Linting: plugins/handler/collectd-metrics/main.go#L29
unused-parameter: parameter 'epf' seems to be unused, consider removing or renaming it as _ (revive)
Linting: plugins/handler/collectd-metrics/main.go#L153
unused-parameter: parameter 'blob' seems to be unused, consider removing or renaming it as _ (revive)
Linting
Restore cache failed: Dependencies file is not found in /home/runner/work/sg-core/sg-core. Supported file pattern: go.sum
Unit tests
The following actions use a deprecated Node.js version and will be forced to run on node20: shogo82148/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/