mirror of https://github.com/kubernetes/kops.git
Merge pull request #4713 from justinsb/fix_update_boilerplate
Fix boilerplate scripts
This commit is contained in:
commit
08fb95b52d
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue