-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(containerd): Use img platform in exporter instead of strict host …
…platform (#4477) * match with img platform instead of host platform * client matching pull spec * use default platform * pull with platforms default strict * use withplatform to pull and add debug log * looks like we are trying to scan a i386 image * revert changes on test, use the right platform match * try with Config.Platform * use spect.platform * fix function usage * try another way to retrieve the platform * fix compilation * read platforms from config manifest * use platform from RegistryOptions if available, otherwise get the actual platform * goimport * put platform in containerd client * fix panic * use DefaultStrict as default
- Loading branch information
1 parent
ce77bb4
commit 3e2416d
Showing
2 changed files
with
26 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters