Agent: Fix self._island_api_client.send_log() call in ControlClient

This commit is contained in:
Shreya Malviya 2022-09-28 17:07:32 +05:30 committed by Mike Salvatore
parent 74e30a2f88
commit 539f4e1c82
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ class ControlClient:
def send_log(self, log):
try:
telemetry = {"monkey_guid": GUID, "log": json.dumps(log)}
self._island_api_client.send_log(json.dumps(telemetry))
self._island_api_client.send_log(GUID, json.dumps(telemetry))
except Exception as exc:
logger.warning(f"Error connecting to control server {self.server_address}: {exc}")