mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-07-04 01:07:49 +02:00
Satisfying staticcheck linter
This commit is contained in:
committed by
Cuong Manh Le
parent
5dd6336953
commit
d292e03d1b
@@ -98,11 +98,9 @@ func (m *mdns) probeLoop(conns []*net.UDPConn, remoteAddr net.Addr, quitCh chan
|
||||
if err != nil {
|
||||
ctrld.ProxyLogger.Load().Warn().Err(err).Msg("error while probing mdns")
|
||||
bo.BackOff(context.Background(), errors.New("mdns probe backoff"))
|
||||
continue
|
||||
}
|
||||
select {
|
||||
case <-quitCh:
|
||||
break
|
||||
}
|
||||
break
|
||||
}
|
||||
<-quitCh
|
||||
for _, conn := range conns {
|
||||
|
||||
Reference in New Issue
Block a user