1
0
Fork 0
forked from External/mediamtx

update golangci-lint (#2868)

This commit is contained in:
Alessandro Ros 2024-01-03 21:13:20 +01:00 committed by GitHub
parent e50def6afd
commit 7437ee7a09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 137 additions and 97 deletions

View file

@ -311,7 +311,7 @@ func (r *Reader) Read() (*Message, error) {
msg, err := rc.readMessage(typ)
if err != nil {
if err == errMoreChunksNeeded {
if errors.Is(err, errMoreChunksNeeded) {
continue
}
return nil, err