forked from p15670423/monkey
Agent: Pass the correct agent ID to ControlChannel
This commit is contained in:
parent
5ec0f2dbd2
commit
feb8288c98
|
@ -123,7 +123,7 @@ class InfectionMonkey:
|
||||||
self._control_client = ControlClient(
|
self._control_client = ControlClient(
|
||||||
server_address=server, island_api_client=self._island_api_client
|
server_address=server, island_api_client=self._island_api_client
|
||||||
)
|
)
|
||||||
self._control_channel = ControlChannel(server, GUID, self._island_api_client)
|
self._control_channel = ControlChannel(server, get_agent_id(), self._island_api_client)
|
||||||
self._register_agent(server)
|
self._register_agent(server)
|
||||||
|
|
||||||
# TODO Refactor the telemetry messengers to accept control client
|
# TODO Refactor the telemetry messengers to accept control client
|
||||||
|
|
Loading…
Reference in New Issue