Skip to content

Commit

Permalink
chore: adapt to latest taskrunner specs
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Jan 6, 2025
1 parent a0b0556 commit 54ebbdf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/io/kestra/plugin/datahub/Ingestion.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public class Ingestion extends Task implements RunnableTask<ScriptOutput>, Names
@Valid
@PluginProperty
@Builder.Default
private TaskRunner taskRunner = Docker.instance();
private TaskRunner<?> taskRunner = Docker.instance();

@Schema(
title = "The Ingestion DataHub Recipe."
Expand All @@ -124,6 +124,7 @@ public ScriptOutput run(RunContext runContext) throws Exception {
inputFiles = new HashMap<String, String>();
}

//noinspection unchecked
((Map<String, String>) inputFiles).put("recipe.yml", recipeFilePath);

return new CommandsWrapper(runContext)
Expand Down

0 comments on commit 54ebbdf

Please sign in to comment.