fix(inputs.intel_rdt): Do not fail on missing PIDs (#14274)

This commit is contained in:
Joshua Powers 2023-11-15 02:07:44 -07:00 committed by GitHub
parent d0aaabb4ca
commit 05bb2777de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -309,8 +309,8 @@ func (r *IntelRDT) processOutput(cmdReader io.ReadCloser, processesPIDsAssociati
pids, err := findPIDsInMeasurement(out)
if err != nil {
r.errorChan <- err
break
r.Log.Warnf("Skipping measurement: %v", err)
continue
}
for processName, PIDsProcess := range processesPIDsAssociation {
if pids == PIDsProcess {