[4.1] 3912645 fix the std.getenv example
PÃ¥l Hermunn Johansen
hermunn at varnish-software.com
Fri Jun 23 16:56:05 CEST 2017
commit 3912645048b575242a0c655ccf53ca0894d931db
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Thu Mar 2 09:55:50 2017 +0100
fix the std.getenv example
diff --git a/lib/libvmod_std/vmod.vcc b/lib/libvmod_std/vmod.vcc
index e7f1d6f..3c058d0 100644
--- a/lib/libvmod_std/vmod.vcc
+++ b/lib/libvmod_std/vmod.vcc
@@ -286,7 +286,7 @@ Description
See getenv(3)
Example
- | set req.http.My-Env = getenv("MY_ENV");
+ | set req.http.My-Env = std.getenv("MY_ENV");
SEE ALSO
========
More information about the varnish-commit
mailing list