[4.0] 52a6e58 Use consistent naming through the example.

Lasse Karstensen lkarsten at varnish-software.com
Tue Jun 24 11:31:48 CEST 2014


commit 52a6e58600f31378251a250fe1954769587b4fc7
Author: Lasse Karstensen <lkarsten at varnish-software.com>
Date:   Thu May 15 16:47:09 2014 +0200

    Use consistent naming through the example.

diff --git a/doc/sphinx/users-guide/vcl-backends.rst b/doc/sphinx/users-guide/vcl-backends.rst
index 4a83b75..ecb8b31 100644
--- a/doc/sphinx/users-guide/vcl-backends.rst
+++ b/doc/sphinx/users-guide/vcl-backends.rst
@@ -211,12 +211,12 @@ Now we define the 'director'::
 
     sub vcl_init {
         new vdir = directors.round_robin();
-        vdir.add_backend(backend1);
-        vdir.add_backend(backend2);
+        vdir.add_backend(server1);
+        vdir.add_backend(server2);
     }
 
 
-You use this director as a backend_hint for requests, just like you would
+You use this `vdir` director as a backend_hint for requests, just like you would
 with a simple backend. Varnish will not send traffic to hosts that are marked as
 unhealthy.
 



More information about the varnish-commit mailing list