Skip to content

Fix Layer.lookup_media_type_for_file_name() to match file names as well#147

Merged
NotTheEvilOne merged 1 commit intomainfrom
fix/layer-media-type-lookup-fix
Jul 23, 2025
Merged

Fix Layer.lookup_media_type_for_file_name() to match file names as well#147
NotTheEvilOne merged 1 commit intomainfrom
fix/layer-media-type-lookup-fix

Conversation

@NotTheEvilOne
Copy link
Contributor

What this PR does / why we need it:
After #146 being merged the logic to match against file extensions fail because the lookup list does contain full file names as well. This PR allows the media-type lookup to succeed.

Which issue(s) this PR fixes:
Fixes gardenlinux/gardenlinux#3201

Signed-off-by: Tobias Wolf <wolf@b1-systems.de>
@NotTheEvilOne NotTheEvilOne merged commit a8ad209 into main Jul 23, 2025
13 checks passed
@NotTheEvilOne NotTheEvilOne deleted the fix/layer-media-type-lookup-fix branch July 23, 2025 12:16
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.

GL 1877.1 missing layers in OCI artifact

2 participants