Commit 0c87f59a authored by Nils Goroll's avatar Nils Goroll

vtc syntax cleanup

return(pass) from vcl_recv does not take a duration argument
parent caa1334c
...@@ -17,7 +17,7 @@ varnish v1 -vcl+backend { ...@@ -17,7 +17,7 @@ varnish v1 -vcl+backend {
if (req.url == "/foo") { if (req.url == "/foo") {
return(hash); return(hash);
} else { } else {
return(pass(10m)); return(pass);
} }
} }
sub vcl_hit { sub vcl_hit {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment