mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-14 06:15:45 +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 < <(
|
done < <(
|
||||||
( kube::codegen::internal::git_grep -l --null \
|
( kube::codegen::internal::git_grep -l --null \
|
||||||
-e '+genclient' \
|
-e '+genclient' \
|
||||||
":(glob)${in_root}"/'**/types.go' \
|
":(glob)${in_root}"/'**/*.go' \
|
||||||
|| true \
|
|| true \
|
||||||
) | xargs -0 -n1 dirname \
|
) | xargs -0 -n1 dirname \
|
||||||
| LC_ALL=C sort -u
|
| LC_ALL=C sort -u
|
||||||
|
Loading…
Reference in New Issue
Block a user