ci: fix lint issues (fix #2948)
This commit is contained in:
parent
de7bff9cea
commit
d36df15878
10 changed files with 23 additions and 15 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue