]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: lua: add "syslog" to Proxy.get_mode() output
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 23 Nov 2023 15:12:23 +0000 (16:12 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 24 Nov 2023 15:27:55 +0000 (16:27 +0100)
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

index fb39d33089857beade25316c41bd01502c39e28e..e8df63e02a6cf3a43f7dc768ba7b5a5808347310 100644 (file)
@@ -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)