Skip to content

Commit 801deae

Browse files
committed
chore: fix tests in pkg/executor after 30ddbe5
1 parent 52c193e commit 801deae

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pkg/executor/build_test.go

+4-3
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ func Test_stageBuilder_populateCompositeKey(t *testing.T) {
876876
}
877877

878878
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)
880880
if err != nil {
881881
t.Fatal(err)
882882
}
@@ -887,7 +887,7 @@ func Test_stageBuilder_populateCompositeKey(t *testing.T) {
887887
}
888888

889889
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)
891891
if err != nil {
892892
t.Fatal(err)
893893
}
@@ -1558,6 +1558,7 @@ func getCommands(fileContext util.FileContext, cmds []instructions.Command, cach
15581558
false,
15591559
cacheCopy,
15601560
cacheRun,
1561+
nil,
15611562
)
15621563
if err != nil {
15631564
panic(err)
@@ -1653,7 +1654,7 @@ func Test_stageBuild_populateCompositeKeyForCopyCommand(t *testing.T) {
16531654
}
16541655

16551656
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)
16571658
if err != nil {
16581659
t.Fatal(err)
16591660
}

0 commit comments

Comments
 (0)