Skip to content

Commit 2f65896

Browse files
committed
fix lint
1 parent ade65ef commit 2f65896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/pool.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ func (pool *Pool) ping(conn *Conn) error {
472472
if err != nil {
473473
pool.logFunc(`Pool: ping query fail: %s`, err.Error())
474474
} else {
475-
conn.SetDeadline(time.Time{})
475+
_ = conn.SetDeadline(time.Time{})
476476
}
477477
return err
478478
}

0 commit comments

Comments
 (0)