Type processCollector: Remove unused field 'pid'
Fixes: process_collector.go:19:2: field pid is unused (U1000) Signed-off-by: Karsten Weiss <knweiss@gmail.com>
This commit is contained in:
parent
ea0d27e8cf
commit
7a495a15b3
|
@ -16,7 +16,6 @@ package prometheus
|
|||
import "github.com/prometheus/procfs"
|
||||
|
||||
type processCollector struct {
|
||||
pid int
|
||||
collectFn func(chan<- Metric)
|
||||
pidFn func() (int, error)
|
||||
cpuTotal *Desc
|
||||
|
|
Loading…
Reference in New Issue