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
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…
Cancel
Save