fix regression in concurrent crawls: (#1324)

- check the 'btrix.org' instead of 'oid' labels in getting related
crawls
- fixes regression introduced in #1296 where labels where all org id
labels were switched to 'btrix.org' for consistency
This commit is contained in:
Ilya Kreymer 2023-10-30 09:58:07 -07:00 committed by GitHub
parent 8c09934298
commit 72f1840ae7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -669,7 +669,7 @@ class BtrixOperator(K8sAPI):
{
"apiVersion": BTRIX_API,
"resource": "crawljobs",
"labelSelector": {"matchLabels": {"oid": oid}},
"labelSelector": {"matchLabels": {"btrix.org": oid}},
},
]