mirror of
https://github.com/pion/webrtc.git
synced 2025-12-24 11:51:03 +08:00
Fix linter errors
golangci-lint upgrade to v1.56.2 added more checks Relates to pion/.goassets#201
This commit is contained in:
@@ -75,7 +75,7 @@ func TestICETransport_OnSelectedCandidatePairChange(t *testing.T) {
|
||||
})
|
||||
|
||||
senderCalledCandidateChange := int32(0)
|
||||
pcOffer.SCTP().Transport().ICETransport().OnSelectedCandidatePairChange(func(pair *ICECandidatePair) {
|
||||
pcOffer.SCTP().Transport().ICETransport().OnSelectedCandidatePairChange(func(*ICECandidatePair) {
|
||||
atomic.StoreInt32(&senderCalledCandidateChange, 1)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user