mirror of
https://github.com/prometheus/node_exporter.git
synced 2025-01-23 11:44:29 -08:00
Remove unused devstatCollector struct member 'bytes_total'.
This also fixes this golint issue: devstat_freebsd.go:40:2: don't use underscores in Go names; struct field bytes_total should be bytesTotal
This commit is contained in:
parent
bca09abf1c
commit
b2f4fd5776
|
@ -36,12 +36,11 @@ type devstatCollector struct {
|
|||
mu sync.Mutex
|
||||
devinfo *C.struct_devinfo
|
||||
|
||||
bytes typedDesc
|
||||
bytes_total typedDesc
|
||||
transfers typedDesc
|
||||
duration typedDesc
|
||||
busyTime typedDesc
|
||||
blocks typedDesc
|
||||
bytes typedDesc
|
||||
transfers typedDesc
|
||||
duration typedDesc
|
||||
busyTime typedDesc
|
||||
blocks typedDesc
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
|
Loading…
Reference in a new issue