update golangci-lint (#3300)

This commit is contained in:
Alessandro Ros
2024-04-28 18:20:08 +02:00
committed by GitHub
parent 5d74906414
commit 1204f76eb7
27 changed files with 141 additions and 133 deletions

View File

@@ -32,7 +32,7 @@ func (c *Chunk0) Read(r io.Reader, maxBodyLen uint32, _ bool) error {
c.MessageStreamID = uint32(header[8])<<24 | uint32(header[9])<<16 | uint32(header[10])<<8 | uint32(header[11])
if c.Timestamp >= 0xFFFFFF {
_, err := io.ReadFull(r, header[:4])
_, err = io.ReadFull(r, header[:4])
if err != nil {
return err
}