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

Detect zstd in crane append #2023

Merged
merged 1 commit into from
Nov 11, 2024
Merged

Detect zstd in crane append #2023

merged 1 commit into from
Nov 11, 2024

Conversation

jonjohnsonjr
Copy link
Collaborator

We assumed everything was gzip, which is not always true!

@brancz
Copy link

brancz commented Oct 17, 2024

Can confirm that this patch works for us!

We assumed everything was gzip, which is not always true!

Signed-off-by: Jon Johnson <[email protected]>
@jonjohnsonjr jonjohnsonjr merged commit 6bce25e into google:main Nov 11, 2024
16 checks passed
@jonjohnsonjr jonjohnsonjr deleted the zstd branch November 11, 2024 19:17
if err != nil {
return nil, err
}
defer f.Close()
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should close it immediately after PeekCompression?

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.

4 participants