Skip to content

Commit 47c7f97

Browse files
committed
Fix
1 parent f83e746 commit 47c7f97

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/reference/reference_lua/config/utils_schema.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ the role configuration:
5252
:end-before: local function validate
5353
:dedent:
5454

55+
Learn more in :ref:`config_utils_schema_definition`.
56+
5557
3. Use the :ref:`validate() <config-schema_object-validate>` method of the schema object to
5658
validate configuration values against the schema. In case of a role, call this
5759
method inside the role's :ref:`validate() <roles_create_custom_role_validate>` function:
@@ -62,14 +64,12 @@ the role configuration:
6264
:end-before: local function apply
6365
:dedent:
6466

65-
4. Obtain values of configuration options using the :ref:`get() <config-schema_object-get>` method.
66-
In case of a role, call it inside the role's :ref:`apply() <roles_create_custom_role_apply>` function:
67+
Learn more in :ref:`config_utils_schema_validating_configuration`.
68+
69+
4. Refer to values of configuration options using the :ref:`get() <config-schema_object-get>`
70+
method inside the role's :ref:`apply() <roles_create_custom_role_apply>` function.
71+
Learn more in :ref:`config_utils_schema_get_configuration`.
6772

68-
.. literalinclude:: /code_snippets/snippets/config/instances.enabled/config_schema_nodes_scalar/http_api.lua
69-
:language: lua
70-
:start-at: local function apply
71-
:end-before: local function stop
72-
:dedent:
7373

7474

7575
.. _config_utils_schema_definition:

0 commit comments

Comments
 (0)