Commit 724b9f8
committed
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 <[email protected]>1 parent d9a63aa commit 724b9f8
2 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments