solver: move client to separate pkg
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>docker-18.09
parent
10c0daba25
commit
d90d3cc683
|
@ -1,4 +1,4 @@
|
|||
package solver
|
||||
package llb
|
||||
|
||||
import (
|
||||
"sort"
|
||||
|
@ -9,8 +9,6 @@ import (
|
|||
"github.com/tonistiigi/buildkit_poc/solver/pb"
|
||||
)
|
||||
|
||||
const noOutput = -1
|
||||
|
||||
type Op interface {
|
||||
Validate() error
|
||||
Marshal() ([][]byte, error)
|
||||
|
@ -173,7 +171,7 @@ func (eo *ExecOp) recursiveMarshal(list [][]byte, cache map[digest.Digest]struct
|
|||
pm.Output = outputIndex
|
||||
outputIndex++
|
||||
} else {
|
||||
pm.Output = noOutput
|
||||
pm.Output = -1
|
||||
}
|
||||
peo.Mounts = append(peo.Mounts, pm)
|
||||
}
|
Loading…
Reference in New Issue