chore(inputs.cisco_telemetry_mdt): Actually fix lint issue (#14554)
This commit is contained in:
parent
d7aaafce79
commit
db8552a140
|
|
@ -241,7 +241,8 @@ func (c *CiscoTelemetryMDT) acceptTCPClients() {
|
|||
c.wg.Add(1)
|
||||
go func() {
|
||||
c.Log.Debugf("Accepted Cisco MDT TCP dialout connection from %s", conn.RemoteAddr())
|
||||
if c.handleTCPClient(conn) != nil {
|
||||
err := c.handleTCPClient(conn)
|
||||
if err != nil {
|
||||
c.acc.AddError(err)
|
||||
}
|
||||
c.Log.Debugf("Closed Cisco MDT TCP dialout connection from %s", conn.RemoteAddr())
|
||||
|
|
|
|||
Loading…
Reference in New Issue