Skip to content

Commit

Permalink
use kube_codegen.sh instead in codegen
Browse files Browse the repository at this point in the history
Signed-off-by: Hao Hao <xdevxhao@gmail.com>
  • Loading branch information
xdevxy committed May 20, 2024
1 parent 5c7bca2 commit a112f53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hack/update-codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cd "${FAKE_REPOPATH}"

CODEGEN_PKG=${CODEGEN_PKG:-$(cd "${FAKE_REPOPATH}"; ls -d -1 ./vendor/k8s.io/code-generator 2>/dev/null || echo ../code-generator)}

bash -x ${CODEGEN_PKG}/generate-groups.sh "client" \
bash -x ${CODEGEN_PKG}/kube_codegen.sh "client" \
github.com/numaproj-labs/numaplane/pkg/client github.com/numaproj-labs/numaplane/pkg/apis \
"numaplane:v1alpha1" \
--go-header-file hack/boilerplate.go.txt
Expand Down
5 changes: 3 additions & 2 deletions pkg/apis/numaplane/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a112f53

Please sign in to comment.