Do not build nats input on freebsd
This plugin can work on freebsd, but will only build with cgo enabled. For now, disable this plugin to avoid this requirement.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// +build !freebsd
|
||||
|
||||
package nats
|
||||
|
||||
import (
|
||||
|
||||
3
plugins/inputs/nats/nats_freebsd.go
Normal file
3
plugins/inputs/nats/nats_freebsd.go
Normal file
@@ -0,0 +1,3 @@
|
||||
// +build freebsd
|
||||
|
||||
package nats
|
||||
@@ -1,3 +1,5 @@
|
||||
// +build !freebsd
|
||||
|
||||
package nats
|
||||
|
||||
import (
|
||||
|
||||
Reference in New Issue
Block a user