Skip to content

Fix lint error

Fix lint error #716

Triggered via pull request March 6, 2024 12:25
Status Failure
Total duration 25s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 7 warnings
lint
issues found
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
lint: test/basic_test.go#L159
unused-parameter: parameter 'network' seems to be unused, consider removing or renaming it as _ (revive)
lint: test/port_forwarding_test.go#L26
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: test/port_forwarding_test.go#L112
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: test/port_forwarding_test.go#L156
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: pkg/services/forwarder/ports.go#L148
unused-parameter: parameter 'network' seems to be unused, consider removing or renaming it as _ (revive)