Merge pull request #2079 from prometheus/superq/fix_conntrack_error

Fix conntrack collector log noise
This commit is contained in:
Ben Kochie 2021-07-15 14:27:23 +02:00 committed by GitHub
commit 9bd826501a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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(