From aff92909da297926709f1997161d2d09e819b787 Mon Sep 17 00:00:00 2001 From: OrlandoCo Date: Tue, 10 Nov 2020 00:21:43 -0600 Subject: [PATCH] Fix lint issue --- pkg/router.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/router.go b/pkg/router.go index 761b88bad..c6a54d537 100644 --- a/pkg/router.go +++ b/pkg/router.go @@ -263,6 +263,7 @@ func (r *router) GetExtMap(mid, ext string) uint8 { return 0 } +// nolint:scopelint func (r *router) SetExtMap(pd *sdp.SessionDescription) { r.mu.Lock() defer r.mu.Unlock() @@ -319,6 +320,7 @@ func (r *router) SetExtMap(pd *sdp.SessionDescription) { } } +// nolint:scopelint func (r *router) OfferExtMap() map[webrtc.SDPSectionType][]sdp.ExtMap { r.mu.Lock() defer r.mu.Unlock()