[master] 625f53b Prettier formatting of RST lists.

Lasse Karstensen lkarsten at varnish-software.com
Tue Feb 25 12:48:15 CET 2014


commit 625f53b391b1acaeeb6774259c362e772d59b006
Author: Lasse Karstensen <lkarsten at varnish-software.com>
Date:   Tue Feb 25 12:47:34 2014 +0100

    Prettier formatting of RST lists.
    
    Remove the last few tabs that was forgotten on the last commit.

diff --git a/doc/sphinx/users-guide/vcl-backends.rst b/doc/sphinx/users-guide/vcl-backends.rst
index ee21f4d..6e72416 100644
--- a/doc/sphinx/users-guide/vcl-backends.rst
+++ b/doc/sphinx/users-guide/vcl-backends.rst
@@ -124,11 +124,11 @@ call certain actions in vcl_init.::
     import directors;    # load the directors
 
     backend server1 {
-	    .host = "192.168.0.10";
-	}
-	backend server2{
-	    .host = "192.168.0.10";
-	}
+        .host = "192.168.0.10";
+    }
+    backend server2 {
+        .host = "192.168.0.10";
+    }
 
     sub vcl_init {
         new bar = directors.round_robin();
@@ -138,7 +138,7 @@ call certain actions in vcl_init.::
 
     sub vcl_recv {
         # send all traffic to the bar director:
-	    req.backend = bar.backend();
+        req.backend = bar.backend();
     }
 
 This director is a round-robin director. This means the director will
@@ -170,14 +170,14 @@ define the backends.::
     }
 
     backend server2 {
-  	    .host = "server2.example.com";
-  	    .probe = {
+        .host = "server2.example.com";
+        .probe = {
             .url = "/";
             .interval = 5s;
             .timeout = 1 s;
             .window = 5;
             .threshold = 3;
-	    }
+        }
     }
 
 Whats new here is the probe. Varnish will check the health of each



More information about the varnish-commit mailing list