mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 09:52:49 +00:00
Add debug output for protobindings generation
This commit is contained in:
parent
c8ce229e64
commit
afae402865
@ -796,6 +796,14 @@ function codegen::protobindings() {
|
||||
"pkg/kubelet/pluginmanager/pluginwatcher/example_plugin_apis"
|
||||
)
|
||||
|
||||
kube::log::status "Generating protobuf bindings for ${#apis[@]} targets"
|
||||
if [[ "${DBG_CODEGEN}" == 1 ]]; then
|
||||
kube::log::status "DBG: generating protobuf bindings for:"
|
||||
for dir in "${apis[@]}"; do
|
||||
kube::log::status "DBG: $dir"
|
||||
done
|
||||
fi
|
||||
|
||||
for api in "${apis[@]}"; do
|
||||
git ls-files -z -cmo --exclude-standard ":(glob)${api}"/'**/api.pb.go' \
|
||||
| xargs -0 rm -f
|
||||
|
Loading…
Reference in New Issue
Block a user