From a6383f0c2c860536d9a6b9b79b43c3f11f5fdbda Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Fri, 27 Dec 2019 16:17:34 +0100 Subject: [PATCH] check_role for event type message --- src/risotto/dispatcher.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/risotto/dispatcher.py b/src/risotto/dispatcher.py index 5df457e..6dbdd36 100644 --- a/src/risotto/dispatcher.py +++ b/src/risotto/dispatcher.py @@ -151,7 +151,9 @@ class PublishDispatcher: kwargs) try: config_arguments = await self.load_kwargs_to_config(risotto_context, - kwargs) + f'{version}.{message}', + kwargs, + check_role) except CallError as err: return except Exception as err: