Page MenuHomeSoftware Heritage
Paste P1255

(An Untitled Masterwork)
ActivePublic

Authored by anlambert on Jan 13 2022, 12:38 PM.
12:37 $ git diff
diff --git a/swh/web/common/origin_save.py b/swh/web/common/origin_save.py
index 3749d134..6696427b 100644
--- a/swh/web/common/origin_save.py
+++ b/swh/web/common/origin_save.py
@@ -778,8 +778,12 @@ def get_save_origin_task_info(
query = {
"bool": {
"must": [
- {"match_phrase": {"priority": {"query": priority}}},
- {"match_phrase": {"swh_task_id": {"query": task_run["backend_id"]}}},
+ {"match_phrase": {"syslog.priority": {"query": priority}}},
+ {
+ "match_phrase": {
+ "journald.custom.swh_task_id": {"query": task_run["backend_id"]}
+ }
+ },
{
"range": {
"@timestamp": {