Skip to content

Commit e0fa100

Browse files
authored
Merge pull request moby#3678 from ktock/definitionop-sources-2
llb: Allow DefinitionOp to track sources
2 parents 80291e6 + fb37f0b commit e0fa100

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
@@ -209,6 +209,7 @@ func (d *DefinitionOp) Inputs() []Output {
209209
dgst: input.Digest,
210210
index: input.Index,
211211
inputCache: d.inputCache,
212+
sources: d.sources,
212213
}
213214
existingIndexes := d.inputCache[input.Digest]
214215
indexDiff := int(input.Index) - len(existingIndexes)

0 commit comments

Comments
 (0)