Fix lint error #714
Annotations
8 errors and 4 warnings
lint:
pkg/services/dns/dns.go#L234
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
pkg/sshclient/bastion.go#L141
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
pkg/services/forwarder/tcp.go#L50
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
pkg/services/forwarder/ports.go#L120
unused-parameter: parameter 'network' 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)
|
lint:
pkg/services/forwarder/ports.go#L235
unused-parameter: parameter 'network' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
pkg/services/forwarder/ports.go#L276
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
|
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:
pkg/virtualnetwork/mux.go#L86
unused-parameter: parameter 'address' 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)
|