@@ -876,7 +876,7 @@ func Test_stageBuilder_populateCompositeKey(t *testing.T) {
876
876
}
877
877
878
878
fc1 := util.FileContext {Root : "workspace" }
879
- dockerCommand1 , err := commands .GetCommand (instructions1 [0 ], fc1 , false , true , true )
879
+ dockerCommand1 , err := commands .GetCommand (instructions1 [0 ], fc1 , false , true , true , nil )
880
880
if err != nil {
881
881
t .Fatal (err )
882
882
}
@@ -887,7 +887,7 @@ func Test_stageBuilder_populateCompositeKey(t *testing.T) {
887
887
}
888
888
889
889
fc2 := util.FileContext {Root : "workspace" }
890
- dockerCommand2 , err := commands .GetCommand (instructions [0 ], fc2 , false , true , true )
890
+ dockerCommand2 , err := commands .GetCommand (instructions [0 ], fc2 , false , true , true , nil )
891
891
if err != nil {
892
892
t .Fatal (err )
893
893
}
@@ -1558,6 +1558,7 @@ func getCommands(fileContext util.FileContext, cmds []instructions.Command, cach
1558
1558
false ,
1559
1559
cacheCopy ,
1560
1560
cacheRun ,
1561
+ nil ,
1561
1562
)
1562
1563
if err != nil {
1563
1564
panic (err )
@@ -1653,7 +1654,7 @@ func Test_stageBuild_populateCompositeKeyForCopyCommand(t *testing.T) {
1653
1654
}
1654
1655
1655
1656
fc := util.FileContext {Root : "workspace" }
1656
- copyCommand , err := commands .GetCommand (instructions [0 ], fc , false , true , true )
1657
+ copyCommand , err := commands .GetCommand (instructions [0 ], fc , false , true , true , nil )
1657
1658
if err != nil {
1658
1659
t .Fatal (err )
1659
1660
}
0 commit comments