Commit 17446061 authored by Vishnu Kannan's avatar Vishnu Kannan

Turn on "description:" verification for v1beta3 API.

parent 28aef4ba
...@@ -37,7 +37,7 @@ find_files() { ...@@ -37,7 +37,7 @@ find_files() {
\) -name '*.go' \) -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 for file in $files
do do
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
# Print 1 if the file in $1 is not in need of additional field descriptions, 0 otherwise. # Print 1 if the file in $1 is not in need of additional field descriptions, 0 otherwise.
FILE="$1" 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" echo "0"
else else
echo "1" echo "1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment