Fix incorrect formatted timestamp in events.download_task_log

This commit is contained in:
allegroai 2020-08-10 08:55:01 +03:00
parent 7816b402bb
commit dccf9dd8f8

View File

@ -185,7 +185,7 @@ def download_task_log(call, company_id, _):
if not log_events:
break
for ev in log_events:
ev["asctime"] = ev.pop("@timestamp")
ev["asctime"] = ev.pop("timestamp")
if is_json:
ev.pop("type")
ev.pop("task")