Skip to content

Commit

Permalink
fix: deprecated docker options
Browse files Browse the repository at this point in the history
Fixes #29
  • Loading branch information
loicmathieu committed Apr 18, 2024
1 parent 6f2efe2 commit 65a23e6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/io/kestra/plugin/soda/AbstractSoda.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package io.kestra.plugin.soda;

import com.fasterxml.jackson.annotation.JsonSetter;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.kestra.core.exceptions.IllegalVariableEvaluationException;
import io.kestra.core.models.annotations.PluginProperty;
Expand Down Expand Up @@ -59,12 +60,11 @@ public abstract class AbstractSoda extends Task {
@Schema(title = "Deprecated, use the `docker` property instead", deprecated = true)
@PluginProperty
@Deprecated
public DockerOptions getDockerOptions() {
return docker;
}
private DockerOptions dockerOptions;

@Deprecated
@JsonSetter
public void setDockerOptions(DockerOptions dockerOptions) {
this.dockerOptions = dockerOptions;
this.docker = dockerOptions;
}

Expand Down

0 comments on commit 65a23e6

Please sign in to comment.