From a267f02ca9b5fec275e5716af0f2c986f4ba9e18 Mon Sep 17 00:00:00 2001 From: Kekoa Kaaikala Date: Thu, 29 Sep 2022 19:43:14 +0000 Subject: [PATCH] Island: Move param docstring to __call__ method --- .../cc/agent_event_handlers/handle_ping_scan_event.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/agent_event_handlers/handle_ping_scan_event.py b/monkey/monkey_island/cc/agent_event_handlers/handle_ping_scan_event.py index 18e66c52a..5eb477723 100644 --- a/monkey/monkey_island/cc/agent_event_handlers/handle_ping_scan_event.py +++ b/monkey/monkey_island/cc/agent_event_handlers/handle_ping_scan_event.py @@ -19,7 +19,6 @@ logger = getLogger(__name__) class handle_ping_scan_event: """ Handles ping scan event and makes changes to Machine and Node states based on it - :param event: Ping scan event """ def __init__( @@ -33,6 +32,9 @@ class handle_ping_scan_event: self._node_repository = node_repository def __call__(self, event: PingScanEvent): + """ + :param event: Ping scan event to process + """ if not event.response_received: return