Skip to content

Commit 9c590d7

Browse files
authored
Merge pull request #185 from iovana/patch-1
Update HTTPGatewayFunctions.md
2 parents f361519 + e1e6eb3 commit 9c590d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/HTTPGatewayFunctions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import com.fnproject.fn.api.httpgateway.HTTPGatewayContext;
2323

2424
public class RedirectFunction {
2525

26-
public redirect(HTTPGatewayContext hctx) {
26+
public void redirect(HTTPGatewayContext hctx) {
2727
System.err.println("Request URL is:" + hctx.getRequestURL());
2828
System.err.println("Trace ID" + hctx.getHeaders().get("My-Trace-ID").orElse("N/A"));
2929

0 commit comments

Comments
 (0)