]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: lua: Documentation about some entry missing
authorThierry FOURNIER / OZON.IO <thierry.fournier@ozon.io>
Mon, 12 Dec 2016 15:24:16 +0000 (16:24 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 12 Dec 2016 16:29:40 +0000 (17:29 +0100)
The parameter "value" of the function TXN.set_var() was not documented.

This is a regression from the commit 85d79c94a93211b156ec644e164b178f5d7101fa.
This patch must be backported in 1.7

doc/lua-api/index.rst

index 26449a2df1ff9f08b9a47201f016d330b6e5b080..22c053884a4de6cb8f8f3a21a501c2e3b2dd3cdd 100644 (file)
@@ -1521,6 +1521,8 @@ TXN class
 
   :param class_txn txn: The class txn object containing the data.
   :param string var: The variable name according with the HAProxy variable syntax.
+  :param type value: The value associated to the variable. The type can be string or
+                     integer.
 
 .. js:function:: TXN.unset_var(TXN, var)