Skip to content

Commit 3979f1d

Browse files
committed
fix: add missing error variable for non-unix build constraints
1 parent 7405cff commit 3979f1d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

internal/pool/conn_check_dummy.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22

33
package pool
44

5-
import "net"
5+
import (
6+
"errors"
7+
"net"
8+
)
9+
10+
// errUnexpectedRead is placeholder error variable for non-unix build constraints
11+
var errUnexpectedRead = errors.New("unexpected read from socket")
612

713
func connCheck(conn net.Conn) error {
814
return nil

0 commit comments

Comments
 (0)