Skip to content
Permalink
Browse files

Merge pull request #535 from BenTheElder/update-generated-fixup

patch update-generated.sh
  • Loading branch information...
k8s-ci-robot committed May 15, 2019
2 parents c34a753 + f2e2a6a commit 267e7529bc05df1bc0be62a5213c15c26cb15cee
Showing with 2 additions and 1 deletion.
  1. +2 −1 hack/update-generated.sh
@@ -39,6 +39,7 @@ cd "${REPO_ROOT}"
# turn off module mode before running the generators
# https://github.com/kubernetes/code-generator/issues/69
# we also need to populate vendor
go mod tidy
go mod vendor
export GO111MODULE="off"

@@ -65,7 +66,7 @@ cd "${FAKE_REPOPATH}"
"${BINDIR}/conversion-gen" -i ./pkg/cluster/config/v1alpha3 -O zz_generated.conversion --go-header-file hack/boilerplate.go.txt

export GO111MODULE="on"
cd $REPO_ROOT
cd "${REPO_ROOT}"

# gofmt the tree
find . -name "*.go" -type f -print0 | xargs -0 gofmt -s -w

0 comments on commit 267e752

Please sign in to comment.
You can’t perform that action at this time.