fix(inputs.infiniband): Handle devices without counters (#14049)
This commit is contained in:
parent
dd7449940e
commit
360eeec3b6
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue