diff --git a/hack/update-header.sh b/hack/update-header.sh index 26ec5ac90f..6dbbbf442a 100755 --- a/hack/update-header.sh +++ b/hack/update-header.sh @@ -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} diff --git a/hack/verify-boilerplate.sh b/hack/verify-boilerplate.sh index 3de8282251..44095a165e 100755 --- a/hack/verify-boilerplate.sh +++ b/hack/verify-boilerplate.sh @@ -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