Browse Source

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
pull/583/head
Karsten Weiss 8 years ago
parent
commit
b2f4fd5776
  1. 11
      collector/devstat_freebsd.go

11
collector/devstat_freebsd.go

@ -36,12 +36,11 @@ type devstatCollector struct {
mu sync.Mutex mu sync.Mutex
devinfo *C.struct_devinfo devinfo *C.struct_devinfo
bytes typedDesc bytes typedDesc
bytes_total typedDesc transfers typedDesc
transfers typedDesc duration typedDesc
duration typedDesc busyTime typedDesc
busyTime typedDesc blocks typedDesc
blocks typedDesc
} }
func init() { func init() {

Loading…
Cancel
Save