Skip to content

Commit 6ac7a53

Browse files
committed
Fix conntrack collector log noise
Fix un-handled file not found for conntrack stats. Signed-off-by: Ben Kochie <[email protected]>
1 parent 6793e0e commit 6ac7a53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector/conntrack_linux.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ func (c *conntrackCollector) Update(ch chan<- prometheus.Metric) error {
129129

130130
conntrackStats, err := getConntrackStatistics()
131131
if err != nil {
132-
return err
132+
return c.handleErr(err)
133133
}
134134

135135
ch <- prometheus.MustNewConstMetric(

0 commit comments

Comments
 (0)