From bf2fd2e641250996817de9846e8cdc3b5bb48bdf Mon Sep 17 00:00:00 2001 From: Martin Angers Date: Wed, 19 Feb 2025 14:39:55 -0500 Subject: [PATCH] Fix increment software install errors in osquery-perf (#26447) Found during latest load test. --- cmd/osquery-perf/osquery_perf/stats.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/osquery-perf/osquery_perf/stats.go b/cmd/osquery-perf/osquery_perf/stats.go index 4569f888e1..1269aea712 100644 --- a/cmd/osquery-perf/osquery_perf/stats.go +++ b/cmd/osquery-perf/osquery_perf/stats.go @@ -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() {