Enable linters enabled by openstack-k8s-operators #942
Annotations
10 errors and 1 warning
golangci-lint:
cmd/manager/manager.go#L73
redefines-builtin-id: redefinition of the built-in function new (revive)
|
golangci-lint:
cmd/manager/manager.go#L102
redefines-builtin-id: redefinition of the built-in function new (revive)
|
golangci-lint:
cmd/manager/manager.go#L153
redefines-builtin-id: redefinition of the built-in function new (revive)
|
golangci-lint:
plugins/handler/sensubility-metrics/main.go#L34
unused-parameter: parameter 'epf' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
plugins/handler/events/main.go#L24
unused-parameter: parameter 'sendMetric' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
plugins/handler/events/main.go#L62
unused-parameter: parameter 'sendEvent' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
plugins/handler/ceilometer-metrics/main.go#L45
unused-parameter: parameter 'epf' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
plugins/transport/amqp1/main.go#L64
unused-parameter: parameter 'done' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
plugins/handler/collectd-metrics/main.go#L29
unused-parameter: parameter 'epf' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
plugins/handler/collectd-metrics/main.go#L153
unused-parameter: parameter 'blob' seems to be unused, consider removing or renaming it as _ (revive)
|
Run actions/setup-go@v5
Restore cache failed: Dependencies file is not found in /home/runner/work/sg-core/sg-core. Supported file pattern: go.sum
|
Loading