Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P1255
(An Untitled Masterwork)
Active
Public
Actions
Authored by
anlambert
on Jan 13 2022, 12:38 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
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": {
Event Timeline
anlambert
created this paste.
Jan 13 2022, 12:38 PM
2022-01-13 12:38:24 (UTC+1)
Log In to Comment