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:
Karsten Weiss 2018-04-13 22:44:44 +02:00
parent ea0d27e8cf
commit 7a495a15b3
1 changed files with 0 additions and 1 deletions

View File

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