From 2a29571c11a5c4d12192f355d1475b0ee9f1142d Mon Sep 17 00:00:00 2001 From: Aurelien DARRAGON Date: Thu, 11 May 2023 17:31:46 +0200 Subject: [PATCH] DOC: lua: fix core.{proxies,frontends,backends} visibility Despite the doc not mentionning it, core.{proxies,frontends,backends} methods are also available from init context. (through core.register_init() functions) Updating the documentation to reflect this possibility. --- doc/lua-api/index.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/lua-api/index.rst b/doc/lua-api/index.rst index b548d85e8..c635741ab 100644 --- a/doc/lua-api/index.rst +++ b/doc/lua-api/index.rst @@ -217,7 +217,7 @@ Core class .. js:attribute:: core.proxies - **context**: task, action, sample-fetch, converter + **context**: init, task, action, sample-fetch, converter This attribute is a table of declared proxies (frontend and backends). Each proxy give an access to his list of listeners and servers. The table is @@ -232,7 +232,7 @@ Core class .. js:attribute:: core.backends - **context**: task, action, sample-fetch, converter + **context**: init, task, action, sample-fetch, converter This attribute is a table of declared proxies with backend capability. Each proxy give an access to his list of listeners and servers. The table is @@ -243,7 +243,7 @@ Core class .. js:attribute:: core.frontends - **context**: task, action, sample-fetch, converter + **context**: init, task, action, sample-fetch, converter This attribute is a table of declared proxies with frontend capability. Each proxy give an access to his list of listeners and servers. The table is