chore(inputs.cisco_telemetry_mdt): Resolve linter with error check (#14552)
This commit is contained in:
parent
193ad373aa
commit
d7aaafce79
|
|
@ -241,7 +241,7 @@ func (c *CiscoTelemetryMDT) acceptTCPClients() {
|
|||
c.wg.Add(1)
|
||||
go func() {
|
||||
c.Log.Debugf("Accepted Cisco MDT TCP dialout connection from %s", conn.RemoteAddr())
|
||||
if err := c.handleTCPClient(conn); err != nil {
|
||||
if c.handleTCPClient(conn) != nil {
|
||||
c.acc.AddError(err)
|
||||
}
|
||||
c.Log.Debugf("Closed Cisco MDT TCP dialout connection from %s", conn.RemoteAddr())
|
||||
|
|
|
|||
Loading…
Reference in New Issue