Fix typo in verify output SQL
authorJakob Cornell <jakob+gpg@jcornell.net>
Wed, 20 Apr 2022 16:34:14 +0000 (11:34 -0500)
committerJakob Cornell <jakob+gpg@jcornell.net>
Wed, 20 Apr 2022 16:34:14 +0000 (11:34 -0500)
disk_jumble/src/disk_jumble/verify.py

index 8a36e4443ddca175ecdfad5c86b764c7489628f6..02a3368709d9161b32df2498d00e105f2d3ae6ec 100644 (file)
@@ -361,7 +361,7 @@ def _do_verify(conn, disk_id: int, target_ranges: List[range], disk_file: io.Buf
                                        from unnest(%(pass_ranges)s::int8range[]) as range
                                ),
                                new_fails as (
-                                       select range_agg(range) as new_passes
+                                       select range_agg(range) as new_fails
                                        from unnest(%(fail_ranges)s::int8range[]) as range
                                )
                        update diskjumble.disk_maps