From 43c7962bca8000ab853b0f41a5c56d597c244e88 Mon Sep 17 00:00:00 2001 From: Jakob Cornell Date: Mon, 18 Apr 2022 20:56:00 -0500 Subject: [PATCH] Fix typo in verify output-writing SQL --- disk_jumble/src/disk_jumble/verify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2