From b210bcc559ffcbe691e9bd0eb9e0c91a94574045 Mon Sep 17 00:00:00 2001 From: "Thierry FOURNIER / OZON.IO" Date: Mon, 12 Dec 2016 16:24:16 +0100 Subject: [PATCH] DOC: lua: Documentation about some entry missing 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/lua-api/index.rst b/doc/lua-api/index.rst index 26449a2df..22c053884 100644 --- a/doc/lua-api/index.rst +++ b/doc/lua-api/index.rst @@ -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)