Skip to content

Commit 5de47de

Browse files
committed
use canonical import path in client-gen so that package comments are
honored
1 parent fbbc3ed commit 5de47de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/update-codegen.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ GV_DIRS_CSV=$(IFS=',';echo "${GV_DIRS[*]// /,}";IFS=$)
5959

6060
# This can be called with one flag, --verify-only, so it works for both the
6161
# update- and verify- scripts.
62-
${clientgen} --output-base "${KUBE_ROOT}/vendor" --output-package="k8s.io/client-go" --clientset-name="kubernetes" --input-base="k8s.io/kubernetes/vendor/k8s.io/api" --input="${GV_DIRS_CSV}" --go-header-file "${KUBE_ROOT}/hack/boilerplate/boilerplate.generatego.txt" "$@"
62+
${clientgen} --output-base "${KUBE_ROOT}/vendor" --output-package="k8s.io/client-go" --clientset-name="kubernetes" --input-base="k8s.io/api" --input="${GV_DIRS_CSV}" --go-header-file "${KUBE_ROOT}/hack/boilerplate/boilerplate.generatego.txt" "$@"
6363

6464
listergen_external_apis=()
6565
kube::util::read-array listergen_external_apis < <(

0 commit comments

Comments
 (0)