Skip to content

Commit 4364475

Browse files
committed
syntax
1 parent 6e8bd11 commit 4364475

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

doc/platform/app/app_roles.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,16 @@ 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. 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.
85+
If the callback is triggered by a configuration update, the ``value`` shows the information of the most recent ``box.status`` system event.
8586

8687
.. NOTE::
8788

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.
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.
8991

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.
92+
- All ``on_event`` callbacks are executed inside of a ``pcall``. If an error is raised for a callback, it is logged
93+
with the ``error`` level and the series execution continues.
9194

9295
Creating a custom role includes the following steps:
9396

0 commit comments

Comments
 (0)