mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 10:19:50 +00:00
Merge pull request #17005 from wojtek-t/update_codecgen_docs
Update comment in hack/update-codecgen.sh script
This commit is contained in:
commit
b8c5abdca3
@ -48,6 +48,8 @@ for (( i=0; i<number; i++ )); do
|
||||
done
|
||||
result=""
|
||||
|
||||
# NOTE: depends function assumes that the whole repository is under
|
||||
# */k8s.io/kubernetes directory - it will NOT work if that is not true.
|
||||
function depends {
|
||||
file=${generated_files[$1]//\.generated\.go/.go}
|
||||
deps=$(go list -f "{{.Deps}}" ${file} | tr "[" " " | tr "]" " ")
|
||||
|
Loading…
Reference in New Issue
Block a user