From 060e44ae85b68a5b9f420c0b1fecc94fcfaa0397 Mon Sep 17 00:00:00 2001 From: Jordan Liggitt Date: Fri, 8 Mar 2019 09:25:18 -0500 Subject: [PATCH] ignore uncommitted generated openapi files in verify-godeps --- hack/verify-godeps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/verify-godeps.sh b/hack/verify-godeps.sh index b565274a1d5..9d06d82f56d 100755 --- a/hack/verify-godeps.sh +++ b/hack/verify-godeps.sh @@ -101,7 +101,7 @@ pushd "${KUBE_ROOT}" > /dev/null 2>&1 ret=1 fi - if ! _out="$(diff -Naupr -x "BUILD" -x "AUTHORS*" -x "CONTRIBUTORS*" vendor "${_kubetmp}/vendor")"; then + if ! _out="$(diff -Naupr -x "BUILD" -x "zz_generated.openapi.go" -x "AUTHORS*" -x "CONTRIBUTORS*" vendor "${_kubetmp}/vendor")"; then echo "Your vendored results are different:" >&2 echo "${_out}" >&2 echo "Godeps Verify failed." >&2