Skip to content

Commit

Permalink
Update zip-create function in map-executor
Browse files Browse the repository at this point in the history
This commit modifies the "zip-create" function in map-executor.go to take a 'config' parameter. It ensures configurations are passed appropriately to the function, fostering better configurability and robustness of the "zip-create" operation.
  • Loading branch information
PiotrFerenc committed Jun 1, 2024
1 parent 2c4e740 commit 2dcabde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/executor/map-executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func CreateActionMap(config *configuration.Config) map[string]actions.Action {
"file-create": file.CreateContentToFile(config),
"docker-run": docker.CreateDockerRun(),
"docker-remove": docker.CreateDockerRemove(),
"zip-create": zip.CreateArchiveToFile(),
"zip-create": zip.CreateArchiveToFile(config),
"file-delete": file.CreateDeleteFileAction(config),
"file-append": file.CreateAppendContentToFile(config),
//"for-each": common.CreateForEachLoop(),
Expand Down

0 comments on commit 2dcabde

Please sign in to comment.