From fbb8e85b461fa9047c7ae54592ef3a0f0c5ca191 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 21 Sep 2022 14:56:53 -0400 Subject: [PATCH] Agent: Pass server to InfectionMonkey._register_agent() --- monkey/infection_monkey/monkey.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/infection_monkey/monkey.py b/monkey/infection_monkey/monkey.py index 460c07592..4b7ae869d 100644 --- a/monkey/infection_monkey/monkey.py +++ b/monkey/infection_monkey/monkey.py @@ -124,7 +124,7 @@ class InfectionMonkey: server_address=server, island_api_client=self._island_api_client ) self._control_channel = ControlChannel(server, GUID, self._island_api_client) - self._register_agent() + self._register_agent(server) # TODO Refactor the telemetry messengers to accept control client # and remove control_client_object