diff --git a/monkey/infection_monkey/master/control_channel.py b/monkey/infection_monkey/master/control_channel.py index 0834f28f7..c93af43e0 100644 --- a/monkey/infection_monkey/master/control_channel.py +++ b/monkey/infection_monkey/master/control_channel.py @@ -5,7 +5,6 @@ from typing import Mapping import requests from common.common_consts.timeouts import SHORT_REQUEST_TIMEOUT -from infection_monkey.control import ControlClient from infection_monkey.custom_types import PropagationCredentials from infection_monkey.i_control_channel import IControlChannel, IslandCommunicationError diff --git a/monkey/infection_monkey/monkey.py b/monkey/infection_monkey/monkey.py index e3eafddce..436b36f67 100644 --- a/monkey/infection_monkey/monkey.py +++ b/monkey/infection_monkey/monkey.py @@ -185,7 +185,6 @@ class InfectionMonkey: control_channel = ControlChannel( self._control_client.server_address, GUID, self._control_client.proxies ) - control_client = self._control_client credentials_store = AggregatingCredentialsStore(control_channel) puppet = self._build_puppet(credentials_store) @@ -207,7 +206,6 @@ class InfectionMonkey: control_channel, local_network_interfaces, credentials_store, - control_client, ) @staticmethod