1
0
Fork 0
forked from External/mediamtx

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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 141 additions and 133 deletions

View file

@ -506,7 +506,7 @@ func TestAPIProtocolListGet(t *testing.T) {
go func() {
time.Sleep(500 * time.Millisecond)
err := source.WritePacketRTP(medi, &rtp.Packet{
err2 := source.WritePacketRTP(medi, &rtp.Packet{
Header: rtp.Header{
Version: 2,
Marker: true,
@ -517,7 +517,7 @@ func TestAPIProtocolListGet(t *testing.T) {
},
Payload: []byte{5, 1, 2, 3, 4},
})
require.NoError(t, err)
require.NoError(t, err2)
}()
c := &webrtc.WHIPClient{