According to the value_sanitizer docstring, this takes 2 parameters, first is
the object type, the second is the actual dict value to sanitize. As a somewhat
default identity function, this discards the object type and returns directly
the dict value unchanged.
Details
Details
- Reviewers
vlorentz - Group Reviewers
Reviewers - Commits
- rDCIDX28ae49da346d: storage.writer: Fix journal writer sanitizer function
tox
vagrant is ok with patched indexer storage, running the actual swh-indexer-journal-client up to writing to the new swh.journal.indexed.* topics.
Diff Detail
Diff Detail
- Repository
- rDCIDX Metadata indexer
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Build is green
Patch application report for D4624 (id=16399)
Rebasing onto 73e181b055...
Current branch diff-target is up to date.
Changes applied before test
commit 28ae49da346db3ad876d5071e31a99658254cc04 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Fri Nov 27 14:26:30 2020 +0100 storage.writer: Fix journal writer sanitizer function According to the value_sanitizer docstring, this takes 2 parameters, first is the object type, the second is the actual dict value to sanitize. As a somewhat default identity function, this discards the object type and returns directly the dict value unchanged. [1] https://forge.softwareheritage.org/source/swh-journal/browse/master/swh/journal/writer/kafka.py$97-100
See https://jenkins.softwareheritage.org/job/DCIDX/job/tests-on-diff/130/ for more details.