fix(inputs.infiniband): Handle devices without counters (#14049)

This commit is contained in:
jose_d 2023-10-04 09:54:50 +02:00 committed by GitHub
parent dd7449940e
commit 360eeec3b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ func (i *Infiniband) Gather(acc telegraf.Accumulator) error {
stats, err := rdmamap.GetRdmaSysfsStats(dev, portInt)
if err != nil {
return err
continue
}
addStats(dev, port, stats, acc)