Merge pull request #4713 from justinsb/fix_update_boilerplate

Fix boilerplate scripts
This commit is contained in:
k8s-ci-robot 2018-03-19 08:08:10 -07:00 committed by GitHub
commit 08fb95b52d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
. $(dirname "${BASH_SOURCE}")/common.sh
BAD_HEADERS=$((${KUBE_ROOT}/hack/verify-boilerplate.sh || true) | awk '{ print $6}')
BAD_HEADERS=$((${KUBE_ROOT}/hack/verify-boilerplate.sh || true) | awk '{ print $7}')
FORMATS="sh go Makefile Dockerfile"
for i in ${FORMATS}

View File

@ -44,6 +44,6 @@ if [[ ${#TEMP_ARRAY[@]} -gt 0 ]]; then
for file in "${TEMP_ARRAY[@]}"; do
echo "FAIL: Boilerplate header is wrong for: ${file}"
done
echo "FAIL: Please execute ./hack/update-header.sh to update headers"
echo "FAIL: Please execute ./hack/update-header.sh"
exit 1
fi