pid_collector getAllPids -> getAllPidsByScanning
This commit is contained in:
parent
90c9b89b5e
commit
2e981a812e
|
@ -210,7 +210,7 @@ func aggregatedResourceUsage(systemCpuStats *stats.CpuStats, pidStats map[string
|
|||
}
|
||||
}
|
||||
|
||||
func getAllPids() (map[int]*nomadPid, error) {
|
||||
func getAllPidsByScanning() (map[int]*nomadPid, error) {
|
||||
allProcesses, err := ps.Processes()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
Loading…
Reference in a new issue