From 89d0909f059575011551367a823dd1b3245ec544 Mon Sep 17 00:00:00 2001 From: Aleksandr Alekseev Date: Thu, 1 Jun 2023 17:36:06 +0200 Subject: [PATCH] Fixing task logs API --- core/libs/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/libs/task.py b/core/libs/task.py index 146d02b3..7dbede40 100644 --- a/core/libs/task.py +++ b/core/libs/task.py @@ -904,7 +904,7 @@ def get_logs_by_taskid(jeditaskid): panda_logs_index = settings.ES_INDEX_PANDA_LOGS - s = Search(using=connection, index=panda_logs_index) + s = Search(using=es_conn, index=panda_logs_index) s = s.filter('term', **{'jediTaskID': jeditaskid})