Agent: Pass server to InfectionMonkey._register_agent()

This commit is contained in:
Mike Salvatore 2022-09-21 14:56:53 -04:00
parent b4c8ac7242
commit fbb8e85b46
1 changed files with 1 additions and 1 deletions

View File

@ -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