Merge pull request #2079 from prometheus/superq/fix_conntrack_error
Fix conntrack collector log noise
This commit is contained in:
commit
9bd826501a
|
@ -129,7 +129,7 @@ func (c *conntrackCollector) Update(ch chan<- prometheus.Metric) error {
|
||||||
|
|
||||||
conntrackStats, err := getConntrackStatistics()
|
conntrackStats, err := getConntrackStatistics()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return c.handleErr(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
ch <- prometheus.MustNewConstMetric(
|
ch <- prometheus.MustNewConstMetric(
|
||||||
|
|
Loading…
Reference in New Issue