From 17446061b01be8f26a21549ac40ed14c91a009cd Mon Sep 17 00:00:00 2001 From: Vishnu Kannan Date: Fri, 6 Mar 2015 21:37:41 +0000 Subject: [PATCH] Turn on "description:" verification for v1beta3 API. --- hack/verify-description.sh | 2 +- hooks/description.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/verify-description.sh b/hack/verify-description.sh index 44613a44341..617a9a311a5 100755 --- a/hack/verify-description.sh +++ b/hack/verify-description.sh @@ -37,7 +37,7 @@ find_files() { \) -name '*.go' } -files=`find_files | egrep "pkg/api/v.[^/]*/types\.go" | grep -v v1beta3` +files=`find_files | egrep "pkg/api/v.[^/]*/types\.go"` for file in $files do diff --git a/hooks/description.sh b/hooks/description.sh index 60efe26e28a..5a027d67af5 100755 --- a/hooks/description.sh +++ b/hooks/description.sh @@ -17,7 +17,7 @@ # Print 1 if the file in $1 is not in need of additional field descriptions, 0 otherwise. FILE="$1" -if grep json: "${FILE}" | grep -v ,inline | grep -v -q description: ; then +if grep json: "${FILE}" | grep -v ,inline | grep -v -q description: | grep -v // ; then echo "0" else echo "1"