From 2e981a812e7dc7610a0833c2fd40275a158815cb Mon Sep 17 00:00:00 2001 From: Lang Martin Date: Wed, 17 Jul 2019 17:28:40 -0400 Subject: [PATCH] pid_collector getAllPids -> getAllPidsByScanning --- drivers/shared/executor/pid_collector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/shared/executor/pid_collector.go b/drivers/shared/executor/pid_collector.go index 3652cf93e..20d4dca8a 100644 --- a/drivers/shared/executor/pid_collector.go +++ b/drivers/shared/executor/pid_collector.go @@ -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