From 8a339a6819a3e863dc4fd11c1e07c7ddaf2815e5 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 11 Feb 2020 00:00:07 -0800 Subject: [PATCH] stunner: correct minor lint errors. Signed-off-by: David Anderson --- stunner/stunner.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stunner/stunner.go b/stunner/stunner.go index a236b0260..92ba6c354 100644 --- a/stunner/stunner.go +++ b/stunner/stunner.go @@ -36,7 +36,6 @@ type Stunner struct { Logf func(format string, args ...interface{}) sessions map[string]*session - tIDs map[string][][12]byte } type session struct { @@ -179,7 +178,7 @@ func (s *Stunner) sendSTUN(ctx context.Context, tID [12]byte, server string) err req := stun.Request(tID) if _, err := s.Send(req, addr); err != nil { - return fmt.Errorf("Send: %v", err) + return fmt.Errorf("send: %v", err) } return nil }