![]() Automatic merge from submit-queue (batch tested with PRs 51666, 49829, 51058, 51004, 50938) Fix threshold notifier build tags **What this PR does / why we need it**: Cross building from darwin is currently broken on the following error: ``` # k8s.io/kubernetes/pkg/kubelet/eviction pkg/kubelet/eviction/threshold_notifier_unsupported.go:25: NewMemCGThresholdNotifier redeclared in this block previous declaration at pkg/kubelet/eviction/threshold_notifier_linux.go:38 ``` It looks like #49300 broke the build tags introduced in #38630 and #37384. This fixes the build tag on `threshold_notifier_unsupported.go` as the cgo requirement was removed from `threshold_notifier_linux.go`. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #50935 **Special notes for your reviewer**: **Release note**: ```release-note NONE ``` |
||
---|---|---|
.. | ||
api | ||
BUILD | ||
doc.go | ||
eviction_manager_test.go | ||
eviction_manager.go | ||
helpers_test.go | ||
helpers.go | ||
OWNERS | ||
threshold_notifier_linux.go | ||
threshold_notifier_unsupported.go | ||
types.go |