Skip to content

Commit

Permalink
Ensure to run codegen main with GO modules
Browse files Browse the repository at this point in the history
  • Loading branch information
cardil committed Jan 19, 2024
1 parent 5be3f70 commit 1cd3950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion staging/src/k8s.io/code-generator/kube_codegen.sh
Expand Up @@ -57,7 +57,7 @@ function kube::codegen::internal::git_grep() {
function kube::codegen::gen_helpers() {
# TODO: Add deprecation message, when other functions in this file are
# rewritten to use the new go-native code-generator.
go run k8s.io/code-generator gen-helpers "$@"
GO111MODULE=on go run k8s.io/code-generator gen-helpers "$@"
}

# Generate openapi code
Expand Down

0 comments on commit 1cd3950

Please sign in to comment.