mirror of
https://gitea.com/Lydanne/buildx.git
synced 2026-01-15 18:34:13 +08:00
vendor: update buildkit to master@8b7bcb900d3c
Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
5
vendor/github.com/containerd/containerd/platforms/defaults_windows.go
generated
vendored
5
vendor/github.com/containerd/containerd/platforms/defaults_windows.go
generated
vendored
@@ -50,7 +50,10 @@ func (m windowsmatcher) Match(p specs.Platform) bool {
|
||||
match := m.defaultMatcher.Match(p)
|
||||
|
||||
if match && m.OS == "windows" {
|
||||
return strings.HasPrefix(p.OSVersion, m.osVersionPrefix) && m.defaultMatcher.Match(p)
|
||||
if strings.HasPrefix(p.OSVersion, m.osVersionPrefix) {
|
||||
return true
|
||||
}
|
||||
return p.OSVersion == ""
|
||||
}
|
||||
|
||||
return match
|
||||
|
||||
Reference in New Issue
Block a user