From 4e4331c5c32fab9b714fad652b4064ef4ddad0de Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Tue, 6 Sep 2022 15:05:29 -0400 Subject: [PATCH] Common: s/event/kwargs in PyPubSubPublisherWrapper comment --- monkey/common/event_queue/pypubsub_publisher_wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/common/event_queue/pypubsub_publisher_wrapper.py b/monkey/common/event_queue/pypubsub_publisher_wrapper.py index 74b4b9a0c..ee2377edd 100644 --- a/monkey/common/event_queue/pypubsub_publisher_wrapper.py +++ b/monkey/common/event_queue/pypubsub_publisher_wrapper.py @@ -50,7 +50,7 @@ class PyPubSubPublisherWrapper: self._refs.append(subscriber) def publish(self, topic_name: str, **kwargs): - # NOTE: `event` needs to match the MDS (message data specification) of the topic, + # NOTE: `kwargs` needs to match the MDS (message data specification) of the topic, # otherwise, errors will arise. The MDS of a topic is set when the topic is created, # which in our case is when a subscriber subscribes to a topic (in `subscribe()`) # which is new (hasn't been subscribed to before).