Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
downgrade minimum required version of hcsshim to v0.10.0
This updates the minimum required version for hcsshim's "osversion" package to v0.10.0, which is the first (non-rc) version providine the `CheckHostAndContainerCompat` utility that's used, which was added in [microsoft/hcsshim@640a560]. Containerd 1.6 LTS currently uses hcsshim [v0.9.10], so would need to be updated to use the platforms module. Containerd 1.7 already uses hcsshim [v0.11.4], so can continue using that version (or higher if needed). This patch downgrades the required version to the lowest version providing the `CheckHostAndContainerCompat`, to make Go modules "minimum version selection" work, and to allow consumers to select a version of the hcsshim needed for their use (any version higher than v0.10.0). [microsoft/hcsshim@640a560]: microsoft/hcsshim@640a560 [v0.9.10]: https://github.com/containerd/containerd/blob/v1.6.27/go.mod#L9 [v0.11.4]: https://github.com/containerd/containerd/blob/v1.7.12/go.mod#L10 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- Loading branch information