Skip to content

Commit

Permalink
chore: optimize registry collector
Browse files Browse the repository at this point in the history
Signed-off-by: Jan-Otto Kröpke <[email protected]>
  • Loading branch information
jkroepke committed Oct 10, 2024
1 parent 4c47c9a commit 56cd976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/perfdata/v1/perflib.go
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ func QueryPerformanceData(query string, counterName string) ([]*PerfObject, erro

// Next perfObjectType
objOffset += int64(obj.TotalByteLength)
numFilteredObjects += 1
numFilteredObjects++
}

return objects[:numFilteredObjects], nil
Expand Down

0 comments on commit 56cd976

Please sign in to comment.