Merge pull request #63517 from ixdy/update-workspace-mirror-fixes
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
//hack:update-mirror: ensure last URL in list is mirrored too
**What this PR does / why we need it**: a small bug in https://github.com/kubernetes/kubernetes/pull/62495 prevented the last URL from mirrored, since there wasn't a trailing newline.
Also, the bazel target printed out if you ran `hack/update-workspace-mirror.sh` directly was incorrect, so that's now fixed.
**Special notes for your reviewer**: buildifier is apparently now formatting bzl files, and I can't figure out how to disable that, so I reformatted this as the first commit.
**Release note**:
```release-note
NONE
```
/assign @BenTheElder
/cc @rmmh
Showing
Please
register
or
sign in
to comment