mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 21:12:07 +00:00
kube_codegen: genclient can look in any Go file
Some out-of-tree consumers have types_foo.go and types_bar.go.
This commit is contained in:
parent
a789a9d44b
commit
87d158e457
@ -551,7 +551,7 @@ function kube::codegen::gen_client() {
|
||||
done < <(
|
||||
( kube::codegen::internal::git_grep -l --null \
|
||||
-e '+genclient' \
|
||||
":(glob)${in_root}"/'**/types.go' \
|
||||
":(glob)${in_root}"/'**/*.go' \
|
||||
|| true \
|
||||
) | xargs -0 -n1 dirname \
|
||||
| LC_ALL=C sort -u
|
||||
|
Loading…
Reference in New Issue
Block a user