pid_collector getAllPids -> getAllPidsByScanning

This commit is contained in:
Lang Martin 2019-07-17 17:28:40 -04:00
parent 90c9b89b5e
commit 2e981a812e

View file

@ -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