|
1
|
//go:build !cgo || !ibm_mq |
|
2
|
|
|
3
|
package main |
|
4
|
|
|
5
|
import ( |
|
6
|
"os" |
|
7
|
|
|
8
|
"github.com/netdata/netdata/go/plugins/logger" |
|
9
|
) |
|
10
|
|
|
11
|
func main() { |
|
12
|
logger.Errorf("ibm.d.plugin: this binary was built without IBM MQ support (requires CGO and ibm_mq build tag)") |
|
13
|
os.Exit(1) |
|
14
|
} |