From d43e05d298d8f8248735113d95b69169cdc65f39 Mon Sep 17 00:00:00 2001 From: Aurelien DARRAGON Date: Thu, 23 Nov 2023 16:12:23 +0100 Subject: [PATCH] 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") --- doc/lua-api/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/lua-api/index.rst b/doc/lua-api/index.rst index fb39d3308..e8df63e02 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)