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

storageImageSource.LayerInfosForCopy(): return uncompressed MediaTypes #1168

Merged
merged 1 commit into from
Mar 3, 2021

Conversation

nalind
Copy link
Member

@nalind nalind commented Mar 3, 2021

Since #1138, we've been paying attention to the MediaType values returned by LayerInfosForCopy(), so lying about layer data being compressed when the data we provide isn't would cause uncompressed layers to be mistakenly marked as compressed when we copied the image without attempting to add or modify the compression of layers.

Since containers#1138, we've been paying attention to the MediaType values
returned by LayerInfosForCopy(), so lying about layer data being
compressed when the data we provide isn't would cause uncompressed
layers to be mistakenly marked as compressed when we copied the image
without attempting to add or modify the compression of layers.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

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

LGTM

Would you backport as well?

@nalind
Copy link
Member Author

nalind commented Mar 3, 2021

After it passes tests and we merge it, I can open a cherry-pick PR for the release-5.10 branch.

@vrothberg vrothberg merged commit 0495207 into containers:master Mar 3, 2021
@nalind nalind deleted the storage-mediatype branch March 3, 2021 16:08
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.

None yet

2 participants