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