Fix increment software install errors in osquery-perf (#26447)
Found during latest load test.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user