Commit fc2adf04 authored by Federico G. Schwindt's avatar Federico G. Schwindt

Correct vmod name

Spotted by Martin Boer on #varnish
parent a5922414
...@@ -112,7 +112,7 @@ Description ...@@ -112,7 +112,7 @@ Description
more or less 1% of the traffic of a backend in the same more or less 1% of the traffic of a backend in the same
director with a weight of 100. director with a weight of 100.
Example Example
new rand_dir = director.random(); new rand_dir = directors.random();
$Method VOID .add_backend(BACKEND, REAL) $Method VOID .add_backend(BACKEND, REAL)
...@@ -136,7 +136,7 @@ Description ...@@ -136,7 +136,7 @@ Description
session cookie, you'll have the client connecting to the same session cookie, you'll have the client connecting to the same
backend every time. backend every time.
Example Example
new hdir = director.hash(); new hdir = directors.hash();
$Method VOID .add_backend(BACKEND, REAL) $Method VOID .add_backend(BACKEND, REAL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment