moby/image/cache
Paweł Gronowski d10756f356
image/cache: Require Major and Minor match for Windows OSVersion
The platform comparison was backported from the branch that vendors
containerd 1.7.

In this branch the vendored containerd version is older and doesn't have
the same comparison logic for Windows specific OSVersion.

Require both major and minor components of Windows OSVersion to match.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
(cherry picked from commit b3888ed899)
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-02-06 17:52:16 +01:00
..
cache.go image/cache: Ignore Build and Revision on Windows 2024-02-06 13:22:43 +01:00
compare.go image/cache: Require Major and Minor match for Windows OSVersion 2024-02-06 17:52:16 +01:00
compare_test.go image/cache: Require Major and Minor match for Windows OSVersion 2024-02-06 17:52:16 +01:00