You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/concepts/configuration.rst
+3-3
Original file line number
Diff line number
Diff line change
@@ -184,7 +184,7 @@ Enabling and configuring roles
184
184
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
185
185
186
186
An application role is a Lua module that implements specific functions or logic.
187
-
You can enable or turn off a specific role for certain instances in a configuration without restarting these instances.
187
+
You can enable or turn off a particular role for certain instances in a configuration without restarting these instances.
188
188
189
189
This section describes how to enable and configure roles.
190
190
To learn how to develop custom roles, see :ref:`application_roles`.
@@ -242,7 +242,7 @@ Roles and configuration scopes
242
242
As the most of configuration options, roles and their configurations can be defined at :ref:`different levels <configuration_scopes>`.
243
243
Given that the ``roles`` option has the ``array`` type and ``roles_cfg`` has the ``map`` type, there are some specifics when applying the configuration:
244
244
245
-
- For ``roles``, an instance's role takes precedence over roles defined at another levels.
245
+
- For ``roles``, an instance's role takes precedence over roles defined at another level.
246
246
In the example below, ``instance001`` has only ``role3``:
247
247
248
248
.. code-block:: yaml
@@ -258,7 +258,7 @@ Given that the ``roles`` option has the ``array`` type and ``roles_cfg`` has the
258
258
259
259
- For ``roles_cfg``, the following rules are applied:
260
260
261
-
- If a configuration for the same role is provided at different levels, an instance configuration takes precedence over configuration defined at another levels.
261
+
- If a configuration for the same role is provided at different levels, an instance configuration takes precedence over the configuration defined at another level.
262
262
In the example below, ``role1.greeting`` is ``'Hi'``:
0 commit comments