-
Notifications
You must be signed in to change notification settings - Fork 65
Use the correct form of sha256.Sum256.
#524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
`sha256.New().Sum(foo)` appends the SHA-256 hash for nil to foo. See https://go.dev/play/p/vSW0U3Hq4qk
The committers listed above are authorized under a signed CLA. |
|
Welcome @mcsaucy! |
|
Hi @mcsaucy. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/ok-to-test |
Quite the opposite, thank you for fixing this @mcsaucy ! /lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mcsaucy, puerco The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
sha256.New().Sum(foo)appends the SHA-256 hash for nil to foo. See https://go.dev/play/p/vSW0U3Hq4qkWhat type of PR is this?
/kind bug
What this PR does / why we need it:
Honestly, you probably don't need it but the current behavior of defining a cache filename as
$URL + SHA256("")is silly. This would be an actual bug if y'all weren't usingMkdirAllto build out the path, but you are.Which issue(s) this PR fixes:
None
Special notes for your reviewer:
That's a good shirt.
Does this PR introduce a user-facing change?