Merge pull request #38630 from ncdc/fix-threshold-notifier-build-tags

Automatic merge from submit-queue (batch tested with PRs 38453, 36672, 38629, 34966, 38630)

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:
Kubernetes Submit Queue 2016-12-12 11:41:12 -08:00 committed by GitHub
commit 12147a3cd6
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.