Skip to content

Commit

Permalink
fix: missing dynamic render of the sftp proxy type
Browse files Browse the repository at this point in the history
  • Loading branch information
loicmathieu committed Feb 28, 2024
1 parent 3d9a480 commit 45fd3c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/kestra/plugin/fs/sftp/SftpService.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 45fd3c4

Please sign in to comment.