From 801deae0da410e2f876a167dee50ce98ca3190bb Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Fri, 17 May 2024 16:55:37 +0100 Subject: [PATCH] chore: fix tests in pkg/executor after 30ddbe50d716d5c86ad7a558ecc4fbee2c0d76f7 --- pkg/executor/build_test.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkg/executor/build_test.go b/pkg/executor/build_test.go index 7065b86288..4191b13f5d 100644 --- a/pkg/executor/build_test.go +++ b/pkg/executor/build_test.go @@ -876,7 +876,7 @@ func Test_stageBuilder_populateCompositeKey(t *testing.T) { } fc1 := util.FileContext{Root: "workspace"} - dockerCommand1, err := commands.GetCommand(instructions1[0], fc1, false, true, true) + dockerCommand1, err := commands.GetCommand(instructions1[0], fc1, false, true, true, nil) if err != nil { t.Fatal(err) } @@ -887,7 +887,7 @@ func Test_stageBuilder_populateCompositeKey(t *testing.T) { } fc2 := util.FileContext{Root: "workspace"} - dockerCommand2, err := commands.GetCommand(instructions[0], fc2, false, true, true) + dockerCommand2, err := commands.GetCommand(instructions[0], fc2, false, true, true, nil) if err != nil { t.Fatal(err) } @@ -1558,6 +1558,7 @@ func getCommands(fileContext util.FileContext, cmds []instructions.Command, cach false, cacheCopy, cacheRun, + nil, ) if err != nil { panic(err) @@ -1653,7 +1654,7 @@ func Test_stageBuild_populateCompositeKeyForCopyCommand(t *testing.T) { } fc := util.FileContext{Root: "workspace"} - copyCommand, err := commands.GetCommand(instructions[0], fc, false, true, true) + copyCommand, err := commands.GetCommand(instructions[0], fc, false, true, true, nil) if err != nil { t.Fatal(err) }