[master] fc2adf0 Correct vmod name
Federico G. Schwindt
fgsch at lodoss.net
Tue Apr 1 14:06:13 CEST 2014
commit fc2adf04e60da468745f989e2de7efe691fe25e5
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Tue Apr 1 13:04:21 2014 +0100
Correct vmod name
Spotted by Martin Boer on #varnish
diff --git a/lib/libvmod_directors/vmod.vcc b/lib/libvmod_directors/vmod.vcc
index 230bf7f..4815c43 100644
--- a/lib/libvmod_directors/vmod.vcc
+++ b/lib/libvmod_directors/vmod.vcc
@@ -112,7 +112,7 @@ Description
more or less 1% of the traffic of a backend in the same
director with a weight of 100.
Example
- new rand_dir = director.random();
+ new rand_dir = directors.random();
$Method VOID .add_backend(BACKEND, REAL)
@@ -136,7 +136,7 @@ Description
session cookie, you'll have the client connecting to the same
backend every time.
Example
- new hdir = director.hash();
+ new hdir = directors.hash();
$Method VOID .add_backend(BACKEND, REAL)
More information about the varnish-commit
mailing list