Skip to content

Commit

Permalink
Update script.
Browse files Browse the repository at this point in the history
Signed-off-by: Liping Xue <[email protected]>
  • Loading branch information
lipingxue committed Jun 27, 2023
1 parent 02b3d56 commit 2792566
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hack/update-generated-crd-code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ if [[ -z "${GOPATH}" ]]; then
GOPATH=~/go
fi

# Please make sure you install k8s.io/[email protected], you may hit failure when running this script if you install k8s.io/code-generator with different version
if [[ ! -d "${GOPATH}/src/k8s.io/code-generator" ]]; then
echo "k8s.io/code-generator missing from GOPATH"
echo "please retry after installing k8s.io/[email protected]"
exit 1
fi

Expand Down

0 comments on commit 2792566

Please sign in to comment.