Fix increment software install errors in osquery-perf (#26447)

Found during latest load test.
This commit is contained in:
Martin Angers
2025-02-19 14:39:55 -05:00
committed by GitHub
parent 306d1c91c5
commit bf2fd2e641
+1 -1
View File
@@ -222,7 +222,7 @@ func (s *Stats) IncrementSoftwareInstalls() {
func (s *Stats) IncrementSoftwareInstallErrs() {
s.l.Lock()
defer s.l.Unlock()
s.softwareInstalls++
s.softwareInstallErrs++
}
func (s *Stats) Log() {