Skip to content

Commit

Permalink
Fix remote file operations again
Browse files Browse the repository at this point in the history
  • Loading branch information
gameformush committed Apr 15, 2021
1 parent 7b4f425 commit 2ee3529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/clj/clj_camel/util.clj
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
[^SftpEndpoint endpoint ex & body]
`(let [~'ops (.createRemoteFileOperations ~endpoint)]
(try
(.connect ~'ops (.getConfiguration ~endpoint) ex)
(.connect ~'ops (.getConfiguration ~endpoint) ~ex)
~@body
(finally
(.disconnect ~'ops)))))
Expand Down

0 comments on commit 2ee3529

Please sign in to comment.