commit | 4b5382db22b39c168131c0d6335b0711dbb0b16d | [log] [tgz] |
---|---|---|
author | Thierry Fournier <thierry.fournier@ozon.io> | Sat Nov 28 19:32:14 2020 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon Dec 14 09:20:57 2020 +0100 |
tree | 990fa008bec0f24dbd9fa1a2e5e8cae12478e6ff | |
parent | ab93f7c5d88bd43aa857043129f7997f5ad4f6c8 [diff] |
MINOR: actions: add a function returning a service pointer from its name This function simply calls action_lookup() on the private service_keywords, to look up a service name. This will be used to detect double registration of a same service from Lua. This will be needed by a next patch to fix a bug and will have to be backported. (cherry picked from commit 87e539906b13ed1d86684d9d3eab82b550fae02d) Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>