Skip to content

Commit

Permalink
Merge pull request #7003 from mateusoliveira43/fix/make-verify-command
Browse files Browse the repository at this point in the history
fix: make verify permission error
  • Loading branch information
qiuming-best authored Oct 30, 2023
2 parents 6e703b8 + 3bc23ae commit 1fcdc20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/verify-generated-crd-code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ HACK_DIR=$(dirname "${BASH_SOURCE}")
${HACK_DIR}/update-3generated-crd-code.sh

# ensure no changes to generated CRDs
if [! git diff --exit-code config/crd/v1/crds/crds.go config/crd/v2alpha1/crds/crds.go >/dev/null]; then
if ! git diff --exit-code config/crd/v1/crds/crds.go config/crd/v2alpha1/crds/crds.go &> /dev/null; then
# revert changes to state before running CRD generation to stay consistent
# with code-generator `--verify-only` option which discards generated changes
git checkout config/crd
Expand Down

0 comments on commit 1fcdc20

Please sign in to comment.