Skip to content

Commit e58e626

Browse files
committed
syntax
1 parent 6ec6a09 commit e58e626

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

doc/platform/app/app_roles.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +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-
8584
- ``value``, which shows and logs the information about the instance status as in the trigger ``box.status`` system event.
8685
If the callback is triggered by a configuration update, the ``value`` shows the information of the most recent ``box.status`` system event.
8786

8887
.. NOTE::
8988

90-
- All ``on_event`` callbacks with the ``config.apply`` key are executed as a part of the configuration process.
91-
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.
9291

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

9695
Creating a custom role includes the following steps:
9796

0 commit comments

Comments
 (0)