mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
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:
commit
12147a3cd6
@ -1,3 +1,5 @@
|
||||
// +build cgo
|
||||
|
||||
/*
|
||||
Copyright 2016 The Kubernetes Authors.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build !linux
|
||||
// +build !linux !cgo
|
||||
|
||||
/*
|
||||
Copyright 2016 The Kubernetes Authors.
|
||||
|
Loading…
Reference in New Issue
Block a user