From a05175976444a6b4f9444cff3484c57737da6519 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 15 Dec 2021 10:11:32 -0500 Subject: [PATCH] Agent: Get only the config from the get_config() response --- monkey/infection_monkey/master/automated_master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/infection_monkey/master/automated_master.py b/monkey/infection_monkey/master/automated_master.py index ff6af8b43..a7f67d87c 100644 --- a/monkey/infection_monkey/master/automated_master.py +++ b/monkey/infection_monkey/master/automated_master.py @@ -98,7 +98,7 @@ class AutomatedMaster(IMaster): return (not self._stop.is_set()) and self._simulation_thread.is_alive() def _run_simulation(self): - config = self._control_channel.get_config() + config = self._control_channel.get_config()["config"] system_info_collector_thread = create_daemon_thread( target=self._run_plugins,