forked from p15670423/monkey
Agent: Remove unused control channel from build_master
This commit is contained in:
parent
17a0be2fa0
commit
bbcac32172
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue