From d33336691453ee76d1065786a94a83db7f2b0fe8 Mon Sep 17 00:00:00 2001 From: Chris Cleeland Date: Mon, 22 Apr 2024 15:34:00 -0500 Subject: [PATCH] Fix watchdog_test lint and test failures on macos. (#3003) Ensure identical build flags embedded in both files. Signed-off-by: Chris Cleeland --- collector/watchdog_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/collector/watchdog_test.go b/collector/watchdog_test.go index 7cf94185..e59382b4 100644 --- a/collector/watchdog_test.go +++ b/collector/watchdog_test.go @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build !nowatchdog -// +build !nowatchdog +//go:build linux && !nowatchdog +// +build linux,!nowatchdog package collector