Skip to content

Refactor commands #1591

Refactor commands

Refactor commands #1591

Triggered via pull request December 26, 2024 00:41
Status Failure
Total duration 2m 23s
Artifacts

test.yaml

on: pull_request
Test GatewayD Plugins
0s
Test GatewayD Plugins
Fit to window
Zoom out
Zoom in

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