Skip to content

Commit fb37f0b

Browse files
committed
Allow DefinitionOp to track sources
Signed-off-by: Kohei Tokunaga <[email protected]>
1 parent 37d54eb commit fb37f0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/llb/definition.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ func (d *DefinitionOp) Inputs() []Output {
205205
dgst: input.Digest,
206206
index: input.Index,
207207
inputCache: d.inputCache,
208+
sources: d.sources,
208209
}
209210
existingIndexes := d.inputCache[input.Digest]
210211
indexDiff := int(input.Index) - len(existingIndexes)

0 commit comments

Comments
 (0)