From ddca8248fe2d5512d2fd10947192b6db48bf3689 Mon Sep 17 00:00:00 2001 From: Eric Paris Date: Fri, 1 May 2015 14:10:50 -0400 Subject: [PATCH] Check v1beta3 description on git commit v1beta3 is no longer a special little snowflake --- hooks/prepare-commit-msg | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hooks/prepare-commit-msg b/hooks/prepare-commit-msg index 807c072c831..ee66b600139 100755 --- a/hooks/prepare-commit-msg +++ b/hooks/prepare-commit-msg @@ -29,8 +29,7 @@ for file in $(git diff --cached --name-only --diff-filter ACM | grep "\.sh" | gr done # Check API schema definitions for field descriptions -# TODO: Check v1beta3, once it is documented -for file in $(git diff --cached --name-only --diff-filter ACM | egrep "pkg/api/v.[^/]*/types\.go" | grep -v "third_party" | grep -v v1beta3); do +for file in $(git diff --cached --name-only --diff-filter ACM | egrep "pkg/api/v.[^/]*/types\.go" | grep -v "third_party"); do # Check for files with fields without description tags descriptionless=$("${KUBE_HOOKS_DIR}/description.sh" "${file}") if [[ "$descriptionless" -eq "0" ]]; then