Skip to content

Commit bcfd81a

Browse files
Fix sample in sftp/streaming.adoc
* Add missing `/` between the path and filename.
1 parent 96adc08 commit bcfd81a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reference/antora/modules/ROOT/pages/sftp/streaming.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public class SftpJavaApplication {
9494
public ExpressionEvaluatingRequestHandlerAdvice after() {
9595
ExpressionEvaluatingRequestHandlerAdvice advice = new ExpressionEvaluatingRequestHandlerAdvice();
9696
advice.setOnSuccessExpression(
97-
"@template.remove(headers['file_remoteDirectory'] + headers['file_remoteFile'])");
97+
"@template.remove(headers['file_remoteDirectory'] + '/' + headers['file_remoteFile'])");
9898
advice.setPropagateEvaluationFailures(true);
9999
return advice;
100100
}

0 commit comments

Comments
 (0)