DOC: lua: fix Proxy.get_mode() output
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 23 Nov 2023 15:02:14 +0000 (16:02 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 24 Nov 2023 15:27:55 +0000 (16:27 +0100)
commit3dd5efe6dad7c29efc162280d958ca412576eefc
tree90c71adddc678db9f94e445f44debee2b67dadae
parent034461fd73634410d58f0225388a9e49e9636fb2
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
doc/lua-api/index.rst