conntrackfixer: bump github.com/ti-mo/conntrack to 0.5.0

This commit is contained in:
Vincent Bernat
2023-11-21 21:07:49 +01:00
parent ec70171d06
commit beb30d9d20
5 changed files with 23 additions and 33 deletions

View File

@@ -233,7 +233,7 @@ func (c *Component) channelHealthcheck() reporter.HealthcheckFunc {
// purgeConntrack purge the conntrack for the given port.
func (c *Component) purgeConntrack(port uint16) int {
flows, err := c.conntrackConn.Dump()
flows, err := c.conntrackConn.Dump(nil)
if err != nil {
c.r.Err(err).Msg("cannot list conntrack entries")
c.metrics.errors.WithLabelValues("cannot list conntrack entries").Inc()