From aeef2cdcbebfad30d69a16115ff7fd0f571828b3 Mon Sep 17 00:00:00 2001 From: Kekoa Kaaikala Date: Mon, 26 Sep 2022 16:14:27 +0000 Subject: [PATCH] Agent: Update send_remove_from_waitlist_control_message_to_relays Update send_remove_from_waitlist_control_message_to_relays to use SocketAddress --- monkey/infection_monkey/network/relay/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/infection_monkey/network/relay/utils.py b/monkey/infection_monkey/network/relay/utils.py index 247a5c50a..fa732f7ff 100644 --- a/monkey/infection_monkey/network/relay/utils.py +++ b/monkey/infection_monkey/network/relay/utils.py @@ -78,7 +78,7 @@ def _check_if_island_server( return None -def send_remove_from_waitlist_control_message_to_relays(servers: Iterable[str]): +def send_remove_from_waitlist_control_message_to_relays(servers: Iterable[SocketAddress]): for i, server in enumerate(servers, start=1): server_address = SocketAddress.from_string(server) t = create_daemon_thread(