Skip to content

Fix lint error

Fix lint error #713

Re-run triggered March 6, 2024 09:23
Status Failure
Total duration 24s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: pkg/services/dhcp/dhcp.go#L123
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
lint: cmd/test-companion/main.go#L42
unused-parameter: parameter 'request' seems to be unused, consider removing or renaming it as _ (revive)
lint: test/basic_test.go#L98
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: test/basic_test.go#L123
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: test/basic_test.go#L159
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: test/port_forwarding_test.go#L38
unused-parameter: parameter 'request' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/virtualnetwork/mux.go#L21
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/virtualnetwork/mux.go#L24
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/virtualnetwork/mux.go#L86
unused-parameter: parameter 'network' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/virtualnetwork/mux.go#L93
unused-parameter: parameter 'src' seems to be unused, consider removing or renaming it as _ (revive)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/gvisor-tap-vsock/gvisor-tap-vsock. Supported file pattern: go.sum