Skip to content

Commit 46b8f47

Browse files
committed
Fix syntax
1 parent 540beec commit 46b8f47

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/platform/app/app_roles.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ You can omit the optional steps and get a simple role as in the example below.
107107
stop = function() -- ... -- end,
108108
}
109109

110-
You can modify a role, for example, by adding dependencies or specifying the on_event callback.
110+
You can modify a role, for example, by adding dependencies or specifying the ``on_event`` callback.
111111
If you modify a role, you need to restart the Tarantool instance with the role in order to apply the changes.
112112

113113
.. NOTE::
@@ -218,6 +218,7 @@ You can find the full example here: `application_role_cfg <https://github.com/ta
218218
.. _roles_create_custom_role_on_event_callback:
219219

220220
On_event callback
221+
~~~~~~~~~~~~~~~~~
221222

222223
Since version :doc:`3.4.0 </release/3.4.0>`, you can define the ``on_event`` callback for custom roles. The ``on_event`` callback is called
223224
every time a ``box.status`` system event is broadcasted.

0 commit comments

Comments
 (0)