Skip to content
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

fix: Fix diffids being wrongly generated #397

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

another-rex
Copy link
Collaborator

@another-rex another-rex commented Jan 16, 2025

FromString actually hashes the string, Digest itself is already a wrapper around a string, so to turn a string directly into a digest just cast it.

We need some snapshot-like tests for container scanning to catch these behavioural changes before they get merged.

Oh wait, we had the tests, just missed it in the review.

@copybara-service copybara-service bot merged commit 6d1c6b6 into google:main Jan 16, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants