From aa6ab0a1a5b6de850d9c744b42af63bff318a315 Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Mon, 1 Dec 2025 15:54:18 +0100 Subject: [PATCH] build: remove deprecated '// +build' tag This has been replaced by `//build:...` for a long time now. Removal of the old build tag was automated with: for i in $(git grep -l '^// +build' | grep -v -e '^vendor/'); do if ! grep -q '^// Code generated' "$i"; then sed -i -e '/^\/\/ +build/d' "$i"; fi; done Kubernetes-commit: ad79e479c2314d1de91e54bc5630c52027f12e21 --- hack/tools.go | 1 - pkg/signals/signal_posix.go | 1 - 2 files changed, 2 deletions(-) diff --git a/hack/tools.go b/hack/tools.go index 73ab6ef1..3e2ab980 100644 --- a/hack/tools.go +++ b/hack/tools.go @@ -1,5 +1,4 @@ //go:build tools -// +build tools /* Copyright 2019 The Kubernetes Authors. diff --git a/pkg/signals/signal_posix.go b/pkg/signals/signal_posix.go index a0f00a73..2b24faa4 100644 --- a/pkg/signals/signal_posix.go +++ b/pkg/signals/signal_posix.go @@ -1,5 +1,4 @@ //go:build !windows -// +build !windows /* Copyright 2017 The Kubernetes Authors.