Skip to content

Commit

Permalink
Fix update codegen script to be compatible with go mod vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
sgreene570 authored and LorbusChris committed Jan 18, 2020
1 parent 1e15e3f commit 347971d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/update-codegen.sh
Expand Up @@ -6,7 +6,7 @@ set -o pipefail

SCRIPT_ROOT=$(dirname ${BASH_SOURCE})/..

${SCRIPT_ROOT}/vendor/k8s.io/code-generator/generate-groups.sh all \
bash ${SCRIPT_ROOT}/vendor/k8s.io/code-generator/generate-groups.sh all \
github.com/openshift/machine-config-operator/pkg/generated github.com/openshift/machine-config-operator/pkg/apis \
"machineconfiguration.openshift.io:v1" \
--go-header-file ${SCRIPT_ROOT}/hack/custom-boilerplate.go.txt

0 comments on commit 347971d

Please sign in to comment.