Merge pull request #1963 from jedevc/split-to-driver-pairs-fix-type

pull/1917/merge
Justin Chadwell 2 years ago committed by GitHub
commit 23fe02993b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -267,11 +267,11 @@ func resolveDriversBase(ctx context.Context, nodes []builder.Node, opt map[strin
}
undetectedPlatform := false
allPlatforms := map[string]int{}
allPlatforms := map[string]struct{}{}
for _, opt := range opt {
for _, p := range opt.Platforms {
k := platforms.Format(p)
allPlatforms[k] = -1
allPlatforms[k] = struct{}{}
if _, ok := availablePlatforms[k]; !ok {
undetectedPlatform = true
}

Loading…
Cancel
Save