Skip to content

Commit 6e8bd11

Browse files
committed
syntax
1 parent e58e626 commit 6e8bd11

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

doc/platform/app/app_roles.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,13 @@ The ``on_event`` callback returns 3 arguments, when it is called:
8181
- ``config.apply`` if the callback was triggered by a configuration update;
8282

8383
- ``box.status`` if it was triggered by the ``box.status`` system event.
84-
- ``value``, which shows and logs the information about the instance status as in the trigger ``box.status`` system event.
85-
If the callback is triggered by a configuration update, the ``value`` shows the information of the most recent ``box.status`` system event.
84+
- ``value``, which shows and logs the information about the instance status as in the trigger ``box.status`` system event. If the callback is triggered by a configuration update, the ``value`` shows the information of the most recent ``box.status`` system event.
8685

8786
.. NOTE::
8887

89-
- All ``on_event`` callbacks with the ``config.apply`` key are executed as a part of the configuration process.
90-
Process statuses ``ready`` or ``check_warnings`` are reached only after all such ``on_event`` callbacks are done.
88+
- All ``on_event`` callbacks with the ``config.apply`` key are executed as a part of the configuration process. Process statuses ``ready`` or ``check_warnings`` are reached only after all such ``on_event`` callbacks are done.
9189

92-
- All ``on_event`` callbacks are executed inside of a ``pcall``. If an error is raised for a callback,
93-
it is logged with the ``error`` level and the series execution continues.
90+
- All ``on_event`` callbacks are executed inside of a ``pcall``. If an error is raised for a callback, it is logged with the ``error`` level and the series execution continues.
9491

9592
Creating a custom role includes the following steps:
9693

0 commit comments

Comments
 (0)