mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-07 22:12:08 +00:00
DOC: lua: fix Proxy.get_mode() output
Proxy.get_mode() function internally relies on proxy_mode_str() to return
the proxy mode. The current function description is exhaustive about the
possible outputs for the function. I can't tell if it's relevant or not
but it's subject to changes. Here it is the case, the documentation
indicates that "health" mode may be returned, which cannot happen
since 77e0daef9
("MEDIUM: proxy: remove obsolete "mode health"").
This should be backported up to 2.4
This commit is contained in:
parent
034461fd73
commit
3dd5efe6da
@ -1140,7 +1140,7 @@ Proxy class
|
||||
|
||||
:param class_proxy px: A :ref:`proxy_class` which indicates the manipulated
|
||||
proxy.
|
||||
:returns: a string "tcp", "http", "health" or "unknown"
|
||||
:returns: a string "tcp", "http" or "unknown"
|
||||
|
||||
.. js:function:: Proxy.get_srv_act(px)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user