zrepl/util
Christian Schwarz 596a39c0f5 bump golangci-lint to 1.35.2 and fix resulting lint errors
GO111MODULE=on golangci-lint run ./...
endpoint/endpoint.go:487:9: S1039: unnecessary use of fmt.Sprintf (gosimple)
                panic(fmt.Sprintf("ClientIdentityKey context value must be set"))
                      ^
platformtest/platformtest_ops.go:259:41: S1039: unnecessary use of fmt.Sprintf (gosimple)
                                return nil, &LineError{scan.Text(), fmt.Sprintf("unexpected tokens at EOL")}
                                                                    ^
platformtest/platformtest_ops.go:266:41: S1039: unnecessary use of fmt.Sprintf (gosimple)
                                return nil, &LineError{scan.Text(), fmt.Sprintf("unexpected tokens at EOL")}
                                                                    ^
util/optionaldeadline/optionaldeadline_test.go:97:50: SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
        pctx := context.WithValue(context.Background(), "key", "value")
                                                        ^
rpc/rpc_debug.go:8:5: var `debugEnabled` is unused (unused)
rpc/dataconn/dataconn_debug.go:8:5: var `debugEnabled` is unused (unused)
rpc/dataconn/frameconn/frameconn.go:42:9: S1039: unnecessary use of fmt.Sprintf (gosimple)
                panic(fmt.Sprintf("frame header is 8 bytes long"))
                      ^
platformtest/platformtest_ops.go:322:40: S1039: unnecessary use of fmt.Sprintf (gosimple)
                        return nil, &LineError{scan.Text(), fmt.Sprintf("unexpected tokens at EOL")}
2021-01-25 00:16:01 +01:00
..
bytecounter [#277] rpc + zfs: drop zfs.StreamCopier, use io.ReadCloser instead 2020-05-18 19:46:24 +02:00
chainedio [#277] endpoint: Receiver.Receive: error message explaining problem with placeholders and encryption 2020-05-18 19:46:24 +02:00
chainlock [#277] replication/driver: enforce ordering during initial replication in order to support encrypted send 2020-05-18 19:46:24 +02:00
chunking run golangci-lint and apply suggested fixes 2019-03-27 13:12:26 +01:00
circlog zfs: send: improve error reporting by capturing stderr 2020-02-14 21:42:03 +01:00
connlogger run golangci-lint and apply suggested fixes 2019-03-27 13:12:26 +01:00
devnoop rpc/dataconn: microbenchmark 2019-03-13 13:57:21 +01:00
envconst envconst: queryable report of resolved variables + integration inot zrepl status --raw 2020-06-14 15:26:05 +02:00
errorarray endpoint: refactor, fix stale holds on initial replication failure, zfs-abstractions subcmd, more efficient ZFS queries 2020-04-18 12:26:03 +02:00
iocommand run golangci-lint and apply suggested fixes 2019-03-27 13:12:26 +01:00
limitio new features: {resumable,encrypted,hold-protected} send-recv, last-received-hold 2020-02-14 22:00:13 +01:00
optionaldeadline bump golangci-lint to 1.35.2 and fix resulting lint errors 2021-01-25 00:16:01 +01:00
semaphore [#388] util/semaphore: fix TestSemaphore test 2021-01-24 22:28:47 +01:00
socketpair socketpair: directly export *net.UnixConn (and add test for that behavior) 2019-03-13 11:36:34 +01:00
tcpsock transport/{TCP,TLS}: optional IP_FREEBIND / IP_BINDANY bind socketops 2020-01-04 17:21:48 +01:00