Fix worker Id is used instead of worker key when processing report

This commit is contained in:
allegroai
2022-07-08 17:48:17 +03:00
parent c18eb99d06
commit c28f478ea8
2 changed files with 7 additions and 5 deletions

View File

@@ -143,7 +143,7 @@ class WorkerBLL:
self._log_stats_to_es(
company_id=company_id,
company_name=entry.company.name,
worker=report.worker,
worker=entry.key,
timestamp=report.timestamp,
task=report.task,
machine_stats=report.machine_stats,