Merge pull request #114851 from liggitt/license-verify

Fix verify-license cleanup
This commit is contained in:
Kubernetes Prow Robot 2023-01-05 12:54:20 -08:00 committed by GitHub
commit f5beb2d5eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,10 +135,6 @@ done < "${KUBE_TEMP}"/licenses.csv
awk '{ printf "%-100s : %-20s : %s\n", $1, $2, $3 }' "${KUBE_TEMP}"/approved_licenses.dump
# cleanup
git remote remove licenses
if [[ ${#packages_url_missing[@]} -gt 0 ]]; then
echo -e '\n[ERROR] The following go-packages in the project have unknown or unreachable license URL:'
awk '{ printf "%-100s : %-20s : %s\n", $1, $2, $3 }' "${KUBE_TEMP}"/approved_licenses_with_missing_urls.dump