[4.1] 335708c Consistency

Federico G. Schwindt fgsch at lodoss.net
Fri Sep 4 15:54:50 CEST 2015


commit 335708cd604720f46a2cb8a51848495f4dea7d61
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Mon Jul 13 12:53:29 2015 +0100

    Consistency

diff --git a/lib/libvmod_directors/vmod.vcc b/lib/libvmod_directors/vmod.vcc
index 2e958a7..cfcf2e3 100644
--- a/lib/libvmod_directors/vmod.vcc
+++ b/lib/libvmod_directors/vmod.vcc
@@ -132,8 +132,8 @@ Description
 	to this director.
 
 Example
-	vdir.add_backend(backend1, 10);
-	vdir.add_backend(backend2, 5);
+	vdir.add_backend(backend1, 10.0);
+	vdir.add_backend(backend2, 5.0);
 	# 2/3 to backend1, 1/3 to backend2.
 
 



More information about the varnish-commit mailing list