Browse Source

Consolidate build flags

The build of any collector can be deactivated by using "no<name>".
pull/27/head
Tobias Schmidt 10 years ago
parent
commit
74971c46ba
  1. 2
      collector/diskstats.go
  2. 2
      collector/lastlogin.go
  3. 2
      collector/netdev.go
  4. 2
      collector/netstat.go

2
collector/diskstats.go

@ -1,4 +1,4 @@
// +build !nonative // +build !nodiskstats
package collector package collector

2
collector/lastlogin.go

@ -1,4 +1,4 @@
// +build !nolastLogin // +build !nolastlogin
package collector package collector

2
collector/netdev.go

@ -1,4 +1,4 @@
// +build !nonetDev // +build !nonetdev
package collector package collector

2
collector/netstat.go

@ -1,4 +1,4 @@
// +build !nonetStat // +build !nonetstat
package collector package collector

Loading…
Cancel
Save