mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-12 13:31:52 +00:00
Update doc in codecgen script
This commit is contained in:
parent
c095e35f1b
commit
e3e0270192
@ -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