build: move solve opt out of duplicate map

This was more error prone, as opposed to the approach used prior to
616fb3e55c.

Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
Justin Chadwell
2023-11-28 10:10:50 +00:00
parent cec4496d3b
commit aa0aeac297
2 changed files with 11 additions and 13 deletions

View File

@ -19,6 +19,8 @@ import (
)
type resolvedNode struct {
SolveOpt *client.SolveOpt
resolver *nodeResolver
driverIndex int
platforms []specs.Platform