Fix conntrack collector log noise

Fix un-handled file not found for conntrack stats.

Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
Ben Kochie 2021-07-15 13:45:07 +02:00
parent 6793e0e5a8
commit 6ac7a53f45
No known key found for this signature in database
GPG key ID: C646B23C9E3245F1

View file

@ -129,7 +129,7 @@ func (c *conntrackCollector) Update(ch chan<- prometheus.Metric) error {
conntrackStats, err := getConntrackStatistics()
if err != nil {
return err
return c.handleErr(err)
}
ch <- prometheus.MustNewConstMetric(