Turn on "description:" verification for v1beta3 API.

This commit is contained in:
Vishnu Kannan 2015-03-06 21:37:41 +00:00
parent 28aef4ba53
commit 17446061b0
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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"