mirror of
https://github.com/wahyd4/telegraf.git
synced 2026-08-09 04:36:05 +10:00
Only compile the sensors plugin if the 'sensors' tag is set
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// +build linux
|
||||
// +build linux,sensors
|
||||
|
||||
package sensors
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
// +build !linux !sensors
|
||||
|
||||
package sensors
|
||||
@@ -1,3 +0,0 @@
|
||||
// +build !linux
|
||||
|
||||
package sensors
|
||||
Reference in New Issue
Block a user