Skip to content

fix mock packages

fix mock packages #20

Triggered via push October 20, 2023 09:49
Status Failure
Total duration 3m 11s
Artifacts

ci.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Lint: internal/module/agent_configuration/server/fake.go#L107
`(*fakeServer).fetchConfiguration` - `ctx` is unused (unparam)
Lint: internal/module/kubernetes_api/server/proxy_test.go#L1078
`setupProxyWithHandler` - `handler` is unused (unparam)
Lint: internal/module/usage_metrics/server/module_test.go#L141
`setupModule` - `handler` is unused (unparam)
Lint: cmd/kas/kasapp/agent_rpc_api_test.go#L128
`setupAgentRpcApi` - `statusCode` is unused (unparam)
Lint: internal/gitlab/do_options.go#L51
func `applyDoOptions` is unused (unused)
Lint: internal/module/agent_configuration/server/fake.go#L26
field `gitLabClient` is unused (unused)
Lint: internal/module/agent_configuration/server/fake.go#L86
func `(*fakeServer).sendConfigResponse` is unused (unused)
Lint: cmd/kas/kasapp/fake/agent_rpc_api.go#L21
field `agentIdAttrOnce` is unused (unused)
Lint: cmd/kas/kasapp/configured_app.go#L80
const `authSecretLength` is unused (unused)
Lint: cmd/kas/kasapp/configured_app.go#L314
func `(*ConfiguredApp).constructRpcApiFactory` is unused (unused)
Unit test
Process completed with exit code 2.