[master] 817ecee Syntax fixed

Per Buer perbu at varnish-software.com
Tue May 6 16:09:35 CEST 2014


commit 817eceee934072faa442cd831541d8ff235f8955
Author: Per Buer <perbu at varnish-software.com>
Date:   Tue May 6 16:09:32 2014 +0200

    Syntax fixed

diff --git a/doc/sphinx/users-guide/vcl-grace.rst b/doc/sphinx/users-guide/vcl-grace.rst
index 16c1d11..e226ab6 100644
--- a/doc/sphinx/users-guide/vcl-grace.rst
+++ b/doc/sphinx/users-guide/vcl-grace.rst
@@ -58,7 +58,7 @@ The grace logic is pretty obvious here. If you have enabled
 the backend is sick and only serve graced object then. Replace the
 second if-clause with something like this:::
 
-   if (!std.healthy(backend) && (obj.ttl + obj.grace > 0s) {
+   if (!std.healthy(req.backend_hint) && (obj.ttl + obj.grace > 0s)) {
          return (deliver);
    } else {
          return (fetch);



More information about the varnish-commit mailing list