search.journal_client: Fix key error
Prior to this commit the key used was origin_url
. After running the following
through docker, the actual key used is id
.
As demonstrated by the stacktrace [1] and the extracted sample [2] (no origin_url
but the id
).
Also, as plainly defined in the swh.indexer.storage.model module [3]
Related to T2817
- [1] swh/meta$896
- [2] swh/meta$895
- [3] https://forge.softwareheritage.org/source/swh-indexer/browse/master/swh/indexer/storage/model.py$135
Test Plan
tox
Migrated from D4710 (view on Phabricator)