From 45fd3c479e671594bd73b64a06180aacdba5c05a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Mathieu?= Date: Wed, 28 Feb 2024 11:23:56 +0100 Subject: [PATCH] fix: missing dynamic render of the sftp proxy type --- src/main/java/io/kestra/plugin/fs/sftp/SftpService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/kestra/plugin/fs/sftp/SftpService.java b/src/main/java/io/kestra/plugin/fs/sftp/SftpService.java index bf3d282..1453a5a 100644 --- a/src/main/java/io/kestra/plugin/fs/sftp/SftpService.java +++ b/src/main/java/io/kestra/plugin/fs/sftp/SftpService.java @@ -42,7 +42,7 @@ public static FileSystemOptions fsOptions(RunContext runContext, SftpInterface s } if (sftpInterface.getProxyType() != null) { - switch (sftpInterface.getProxyType()) { + switch (runContext.render(sftpInterface.getProxyType())) { case "SOCKS5": instance.setProxyType(options, SftpFileSystemConfigBuilder.PROXY_SOCKS5); break;