From: Jakob Cornell Date: Thu, 21 Apr 2022 00:22:42 +0000 (-0500) Subject: Fix error in v2 verify worklist query X-Git-Url: https://jcornell.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=2b711508c31d28249fd2da5861690fda62039175;p=eros.git Fix error in v2 verify worklist query --- diff --git a/disk_jumble/src/disk_jumble/verify.py b/disk_jumble/src/disk_jumble/verify.py index e2c736d..b1df745 100644 --- a/disk_jumble/src/disk_jumble/verify.py +++ b/disk_jumble/src/disk_jumble/verify.py @@ -235,7 +235,7 @@ def _get_v2_worklist(conn, disk_id: int, target_ranges: List[NumericRange]) -> L ), filtered as ( select *, generate_series(lower(check_erange), upper(check_erange) - 1) as piece_num - from (select * from with_hashes where not isempty(check_erange)) + from (select * from with_hashes where not isempty(check_erange)) as _ ), exploded as ( select