Skip to content

Commit

Permalink
fix: task runner INSTANCE -> instance()
Browse files Browse the repository at this point in the history
  • Loading branch information
loicmathieu committed Aug 5, 2024
1 parent a28e304 commit aeaa752
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/io/kestra/plugin/dbt/cli/Setup.java
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public class Setup extends AbstractExecScript implements RunnableTask<ScriptOutp
@PluginProperty
@Builder.Default
@Valid
protected TaskRunner taskRunner = Docker.INSTANCE;
protected TaskRunner taskRunner = Docker.instance();

@Builder.Default
protected String containerImage = DEFAULT_IMAGE;
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/io/kestra/plugin/dbt/cli/BuildTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ void run() throws Exception {
Setup setup = Setup.builder()
.id(IdUtils.create())
.type(Setup.class.getName())
.taskRunner(Process.INSTANCE)
.taskRunner(Process.instance())
.profiles(Map.of(
"unit-kestra", Map.of(
"outputs", Map.of(
Expand Down Expand Up @@ -78,7 +78,7 @@ void run() throws Exception {
env.put("GOOGLE_APPLICATION_CREDENTIALS", runContext.workingDir().resolve(Path.of("sa.json")).toString());
Build task = Build.builder()
.thread(8)
.taskRunner(Process.INSTANCE)
.taskRunner(Process.instance())
.env(env)
.build();

Expand Down

0 comments on commit aeaa752

Please sign in to comment.