Refactor commands #1591
test.yaml
on: pull_request
Test GatewayD
2m 15s
Test GatewayD Plugins
0s
Annotations
10 errors and 1 warning
Test GatewayD:
cmd/gatewayd_app.go#L959
unused-parameter: parameter 'healthCheckScheduler' seems to be unused, consider removing or renaming it as _ (revive)
|
Test GatewayD:
cmd/gatewayd_app.go#L960
unused-parameter: parameter 'metricsMerger' seems to be unused, consider removing or renaming it as _ (revive)
|
Test GatewayD:
cmd/gatewayd_app.go#L961
unused-parameter: parameter 'pluginRegistry' seems to be unused, consider removing or renaming it as _ (revive)
|
Test GatewayD:
cmd/gatewayd_app.go#L178
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
Test GatewayD:
cmd/gatewayd_app.go#L406
response body must be closed (bodyclose)
|
Test GatewayD:
cmd/gatewayd_app.go#L221
Function `Start` should pass the context parameter (contextcheck)
|
Test GatewayD:
cmd/gatewayd_app.go#L290
Non-inherited new context, use function like `context.WithXXX` instead (contextcheck)
|
Test GatewayD:
cmd/gatewayd_app.go#L297
Function `RunAll->Run->publishTask` should pass the context parameter (contextcheck)
|
Test GatewayD:
cmd/gatewayd_app.go#L654
Non-inherited new context, use function like `context.WithXXX` instead (contextcheck)
|
Test GatewayD:
cmd/gatewayd_app.go#L661
Function `RunAll->Run->publishTask` should pass the context parameter (contextcheck)
|
Test GatewayD
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|