Fix threshold notifier build tags

Fix threshold notifier build tags so the linux version is only built if cgo is
enabled, and the unsupported version is built if it's either not linux or not
cgo.
This commit is contained in:
Andy Goldstein 2016-12-12 11:56:07 -05:00
parent 492f8d412f
commit 89ea5ac9c1
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
// +build cgo
/*
Copyright 2016 The Kubernetes Authors.

View File

@ -1,4 +1,4 @@
// +build !linux
// +build !linux !cgo
/*
Copyright 2016 The Kubernetes Authors.