Skip to content

Commit

Permalink
fix: use containerImage istead of DEFAULT_IMAGE when no image in options
Browse files Browse the repository at this point in the history
  • Loading branch information
loicmathieu committed Aug 8, 2024
1 parent 8e16794 commit 7da3bf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/kestra/plugin/spark/SparkCLI.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public class SparkCLI extends AbstractExecScript {
protected DockerOptions injectDefaults(DockerOptions original) {
var builder = original.toBuilder();
if (original.getImage() == null) {
builder.image(DEFAULT_IMAGE);
builder.image(this.getContainerImage());
}

return builder.build();
Expand Down

0 comments on commit 7da3bf9

Please # to comment.