Skip to content

Use net.JoinHostPort instead of raw string concatenation #17

Use net.JoinHostPort instead of raw string concatenation

Use net.JoinHostPort instead of raw string concatenation #17

Triggered via pull request February 6, 2024 18:36
Status Failure
Total duration 21s
Artifacts

lint.yaml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint (1.21): cluster_test.go#L25
Error return value of `ts.Stop` is not checked (errcheck)
lint (1.21): cluster_test.go#L60
Error return value of `tc.Stop` is not checked (errcheck)
lint (1.21): cluster_test.go#L102
Error return value of `tc.Stop` is not checked (errcheck)
lint (1.21): cluster_test.go#L198
Error return value of `ts.Stop` is not checked (errcheck)
lint (1.21): cluster_test.go#L234
Error return value of `ts.Stop` is not checked (errcheck)
lint (1.21): conn.go#L753
Error return value of `c.conn.SetWriteDeadline` is not checked (errcheck)
lint (1.21): conn.go#L755
Error return value of `c.conn.SetWriteDeadline` is not checked (errcheck)
lint (1.21): conn.go#L761
Error return value of `c.conn.SetReadDeadline` is not checked (errcheck)
lint (1.21): conn.go#L763
Error return value of `c.conn.SetReadDeadline` is not checked (errcheck)
lint (1.21): conn.go#L828
Error return value of `c.conn.SetWriteDeadline` is not checked (errcheck)
lint (1.21)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, 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 (1.21)
Restore cache failed: Dependencies file is not found in /home/runner/work/go-zk/go-zk. Supported file pattern: go.sum