From: Jakob Cornell Date: Tue, 19 Apr 2022 01:56:00 +0000 (-0500) Subject: Fix typo in verify output-writing SQL X-Git-Url: https://jcornell.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=43c7962bca8000ab853b0f41a5c56d597c244e88;p=eros.git Fix typo in verify output-writing SQL --- diff --git a/disk_jumble/src/disk_jumble/verify.py b/disk_jumble/src/disk_jumble/verify.py index 66cb3fa..0e82226 100644 --- a/disk_jumble/src/disk_jumble/verify.py +++ b/disk_jumble/src/disk_jumble/verify.py @@ -371,7 +371,7 @@ def _do_verify(conn, disk_id: int, target_ranges: Optional[List[range]], disk_fi select verify_id, ordinality - 1, %(disk_id)s, block_range from new_piece, - unnest(%(ranges)) with ordinality as block_range + unnest(%(ranges)s) with ordinality as block_range ) insert into diskjumble.verify_piece_fail (verify_id) select verify_id from new_piece