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 Containerd host mirror ordering #601

Merged
merged 1 commit into from
Oct 11, 2024
Merged

Conversation

phillebaba
Copy link
Member

This change replaces the use of toml un-marshalling with Go templating which was previously used a year ago. This is to make sure the the order the mirrors passed to Spegel are preserved in the toml file.

This change is heavily based on @vflaux work in both #550 and #557. Thank you for doing the research to figure out a path forward in solving this!

Fixes #549

@phillebaba phillebaba force-pushed the fix/containerd-order branch 3 times, most recently from 2ead975 to 761e6e9 Compare October 11, 2024 09:43
Copy link

codecov bot commented Oct 11, 2024

Codecov Report

Attention: Patch coverage is 82.35294% with 12 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pkg/oci/containerd.go 82.35% 6 Missing and 6 partials ⚠️
Files with missing lines Coverage Δ
pkg/oci/containerd.go 60.22% <82.35%> (+3.36%) ⬆️

Signed-off-by: Philip Laine <philip.laine@gmail.com>
@phillebaba phillebaba merged commit f2efc93 into main Oct 11, 2024
9 checks passed
@phillebaba phillebaba deleted the fix/containerd-order branch October 11, 2024 09:55
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.

Containerd hosts config are sorted and not in the specified order
1 participant