Skip to content

Commit

Permalink
fix(tasks): compatibility with snakeyml 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Apr 21, 2023
1 parent 64677a1 commit 8483495
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/io/kestra/plugin/kubernetes/PodCreate.java
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ private void delete(KubernetesClient client, Logger logger, Pod pod) {
PodService.podRef(client, pod).delete();
logger.info("Pod '{}' is deleted ", pod.getMetadata().getName());
} catch (Throwable e) {
log.warn("Unable to delete pod {}", pod.getFullResourceName(), e);
logger.warn("Unable to delete pod {}", pod.getFullResourceName(), e);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public class Connection {
private final OAuthTokenProvider oauthTokenProvider;

public Config toConfig(RunContext runContext) throws IllegalVariableEvaluationException {
ConfigBuilder builder = new ConfigBuilder();
ConfigBuilder builder = new ConfigBuilder(Config.empty());

if (trustCerts != null) {
builder.withTrustCerts(trustCerts);
Expand Down

0 comments on commit 8483495

Please sign in to comment.