Agent: Remove unused control channel from build_master

This commit is contained in:
Ilija Lazoroski 2022-06-13 18:30:48 +02:00 committed by vakarisz
parent 17a0be2fa0
commit bbcac32172
2 changed files with 0 additions and 3 deletions

View File

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

View File

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