mirror of
https://github.com/wahyd4/cert-manager.git
synced 2026-08-09 05:06:38 +10:00
the regex being replaced doesn't match files which only contain go:build although as of go 1.17 (which we require for cert-manager) that's totally valid. this commit updates the regex to match upstream k8s, which is the original source of the boilerplate verification script in any case upstream: https://github.com/kubernetes/kubernetes/blob/47ff335d4c678f8ebe12369055d4b3806d0fb9f4/hack/boilerplate/boilerplate.py#L219-L223 Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>