ci: fix lint issues (fix #2948)

This commit is contained in:
ZhangTao1596 2023-03-29 11:19:23 +08:00
parent de7bff9cea
commit d36df15878
10 changed files with 23 additions and 15 deletions

View file

@ -11,7 +11,8 @@ import (
func connReadStub(conn net.Conn) {
b := make([]byte, 1024)
var err error
for ; err == nil; _, err = conn.Read(b) {
for err == nil {
_, err = conn.Read(b)
}
}