Skip to content

Commit 5dbfc54

Browse files
committed
Review fixes
1 parent 0761e11 commit 5dbfc54

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

doc/platform/app/app_roles.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ Validating a role configuration
116116
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117117

118118
To validate a role configuration, you need to define the :ref:`validate([cfg]) <roles_api_reference_validate>` function.
119-
The ``cfg`` argument provides access to the :ref:`role's configuration <roles_create_custom_role_config>` and check its validity.
120119

121120
In the example below, the ``validate()`` function of the role configuration schema
122121
is used to validate the ``greeting`` value:

doc/reference/reference_lua/config/utils_schema.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Schema nodes
9898
Schema nodes describe the hierarchy of options within a schema. There are two types of schema nodes:
9999

100100
- *Scalar* nodes hold a single value of a supported primitive type. For example,
101-
a string configuration option of a role is a scalar node its schema.
101+
a string configuration option of a role is a scalar node in its schema.
102102
- *Composite* nodes include multiple values in different forms: *records*, *arrays*, or *maps*.
103103

104104
A node can have *annotations* -- named attributes that enable customization of
@@ -564,7 +564,7 @@ API Reference
564564
- Merge two configurations
565565

566566
* - :ref:`schema_object:pairs() <config-schema_object-pairs>`
567-
- Traverse a configuration
567+
- Walk over a configuration
568568

569569
* - :ref:`schema_object:set() <config-schema_object-set>`
570570
- Set a configuration value
@@ -940,6 +940,7 @@ schema_object
940940

941941
:param any data: configuration data
942942
:param string/table path: path to the target node as:
943+
943944
- a string in the dot notation
944945
- an array-like table
945946

@@ -1062,6 +1063,7 @@ schema_object
10621063

10631064
:param any data: configuration data
10641065
:param string/table path: path to the target node as:
1066+
10651067
- a string in the dot notation
10661068
- an array-like table
10671069
:param any value: new value

0 commit comments

Comments
 (0)