Skip to content

Commit

Permalink
fix: do not error when closing statsd network connection (#11043)
Browse files Browse the repository at this point in the history
  • Loading branch information
powersj authored May 10, 2022
1 parent e28793c commit 3e60bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/inputs/statsd/statsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ func (s *Statsd) udpListen(conn *net.UDPConn) error {
s.Log.Errorf("Error reading: %s", err.Error())
continue
}
return err
return nil
}
s.UDPPacketsRecv.Incr(1)
s.UDPBytesRecv.Incr(int64(n))
Expand Down

0 comments on commit 3e60bc1

Please sign in to comment.