diff --git a/pkg/kubelet/eviction/threshold_notifier_linux.go b/pkg/kubelet/eviction/threshold_notifier_linux.go index 1587dea85c8..f9449b3c5b3 100644 --- a/pkg/kubelet/eviction/threshold_notifier_linux.go +++ b/pkg/kubelet/eviction/threshold_notifier_linux.go @@ -1,3 +1,5 @@ +// +build cgo + /* Copyright 2016 The Kubernetes Authors. diff --git a/pkg/kubelet/eviction/threshold_notifier_unsupported.go b/pkg/kubelet/eviction/threshold_notifier_unsupported.go index 77a9b26cfc2..f54d7eb513a 100644 --- a/pkg/kubelet/eviction/threshold_notifier_unsupported.go +++ b/pkg/kubelet/eviction/threshold_notifier_unsupported.go @@ -1,4 +1,4 @@ -// +build !linux +// +build !linux !cgo /* Copyright 2016 The Kubernetes Authors.