Skip to content

Commit b093a53

Browse files
committed
syntax
1 parent baf94cc commit b093a53

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
@@ -80,16 +80,13 @@ The ``on_event`` callback provides 3 arguments, when it is called:
8080
- ``config.apply`` if the callback was triggered by a configuration update;
8181
- ``box.status`` if it was triggered by the ``box.status`` system event.
8282

83-
- ``value``, which shows and logs the information about the instance status as in the trigger ``box.status`` system event.
84-
If the callback is triggered by a configuration update, the ``value`` shows the information of the most recent ``box.status`` system event.
83+
- ``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.
8584

8685
.. NOTE::
8786

88-
- All ``on_event`` callbacks with the ``config.apply`` key are executed as a part of the configuration process.
89-
Process statuses ``ready`` or ``check_warnings`` are reached only after all such ``on_event`` callbacks are done.
87+
- 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.
9088

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

9491
Creating a custom role includes the following steps:
9592

0 commit comments

Comments
 (0)