[master] 006760c Use `all' for vars marked as all

Federico G. Schwindt fgsch at lodoss.net
Thu Oct 15 22:27:11 CEST 2015


commit 006760c39c2f8457958e11196c27941bb00d8523
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Thu Oct 15 15:24:22 2015 +0100

    Use `all' for vars marked as all
    
    Previously it said `vcl_all' which doesn't exist.  Minor cosmetics while
    I'm here.

diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py
index 062d180..f8aeb79 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -690,8 +690,8 @@ sp_variables = [
 		( 'deliver', 'synth', ), """
 		The HTTP status code that will be returned.
 
-                Assigning a HTTP standardized code to resp.status will also
-                set resp.reason to the corresponding status message.
+		Assigning a HTTP standardized code to resp.status will also
+		set resp.reason to the corresponding status message.
 		"""
 	),
 	('resp.reason',
@@ -1316,6 +1316,8 @@ def rst_where(fo, h, l):
 			ll.append(j)
 		elif j == "backend":
 			ll.append(j)
+		elif j == "all":
+			ll.append(j)
 		else:
 			ll.append("vcl_" + j)
 	for j in ll:



More information about the varnish-commit mailing list