[master] 0a06bad Fix syntax

Federico G. Schwindt fgsch at lodoss.net
Thu May 8 03:27:44 CEST 2014


commit 0a06badefd94a3a1a69711b9b01371a7fe3a9371
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Thu May 8 02:26:21 2014 +0100

    Fix syntax
    
    Submitted by:	github::matsuu
    
    While here add missing semicolon.

diff --git a/doc/sphinx/users-guide/vcl-backends.rst b/doc/sphinx/users-guide/vcl-backends.rst
index a51e4f6..be50e1c 100644
--- a/doc/sphinx/users-guide/vcl-backends.rst
+++ b/doc/sphinx/users-guide/vcl-backends.rst
@@ -64,7 +64,7 @@ Now we need tell Varnish where to send the difference URL. Lets look at `vcl_rec
         if (req.url ~ "^/java/") {
             set req.backend_hint = java;
         } else {
-            set req.backend_hint = default.
+            set req.backend_hint = default;
         }
     }
 
@@ -138,7 +138,7 @@ call certain actions in `vcl_init`.::
 
     sub vcl_recv {
         # send all traffic to the bar director:
-        req.backend_hint = bar.backend();
+        set req.backend_hint = bar.backend();
     }
 
 This director is a round-robin director. This means the director will



More information about the varnish-commit mailing list