Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.

Commit 110630f

Browse files
committed
[proc] do not skip container even in extreme cases
1 parent 8b22bad commit 110630f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

checks/process.go

-4
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,6 @@ func (p *ProcessCheck) Run(cfg *config.AgentConfig, groupID int32) ([]model.Mess
7979
}
8080

8181
procsByCtr := fmtProcesses(cfg, procs, p.lastProcs, ctrList, cpuTimes[0], p.lastCPUTime, p.lastRun)
82-
// In case we skip every process..
83-
if len(procsByCtr) == 0 {
84-
return nil, nil
85-
}
8682
containers := fmtContainers(ctrList, p.lastCtrRates, p.lastRun)
8783

8884
messages, totalProcs, totalContainers := createProcCtrMessages(procsByCtr, containers, cfg, p.sysInfo, groupID)

0 commit comments

Comments
 (0)