From: Aurelien DARRAGON Date: Thu, 23 Nov 2023 15:12:23 +0000 (+0100) Subject: DOC: lua: add "syslog" to Proxy.get_mode() output X-Git-Tag: v2.9-dev12~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d43e05d298d8f8248735113d95b69169cdc65f39;p=thirdparty%2Fhaproxy.git DOC: lua: add "syslog" to Proxy.get_mode() output Following previous commit: in this patch we add the "syslog" output as possible return value for Proxy.get_mode() function since log backend may now be enumerated from lua with 9a74a6c ("MAJOR: log: introduce log backends") --- diff --git a/doc/lua-api/index.rst b/doc/lua-api/index.rst index fb39d33089..e8df63e02a 100644 --- a/doc/lua-api/index.rst +++ b/doc/lua-api/index.rst @@ -1140,7 +1140,7 @@ Proxy class :param class_proxy px: A :ref:`proxy_class` which indicates the manipulated proxy. - :returns: a string "tcp", "http" or "unknown" + :returns: a string "tcp", "http", "syslog" or "unknown" .. js:function:: Proxy.get_srv_act(px)