Fix lint error #715
Annotations
1 error and 10 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/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:
test/basic_test.go#L98
unused-parameter: parameter 'network' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
test/basic_test.go#L123
unused-parameter: parameter 'network' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
test/basic_test.go#L159
unused-parameter: parameter 'network' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
pkg/services/forwarder/ports.go#L120
unused-parameter: parameter 'addr' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
pkg/services/forwarder/ports.go#L235
unused-parameter: parameter 'addr' seems to be unused, consider removing or renaming it as _ (revive)
|