Fix v1 worklist query error
authorJakob Cornell <jakob+gpg@jcornell.net>
Sun, 17 Apr 2022 22:23:38 +0000 (17:23 -0500)
committerJakob Cornell <jakob+gpg@jcornell.net>
Sun, 17 Apr 2022 22:23:38 +0000 (17:23 -0500)
disk_jumble/src/disk_jumble/verify.py

index e9faef52836cde39c836c7eb3a7fa52dc3762e21..45a43d5ea502b3b926c8bfe965763a181ae5e196 100644 (file)
@@ -83,7 +83,7 @@ def _get_v1_worklist(conn, disk_id: int, block_ranges: List[NumericRange]) -> Li
                        entity_id, info
                        from (
                                diskjumble.slab
-                               left join bittorrent.torrent_info on digest(info, 'sha1') = entity_id
+                               join bittorrent.torrent_info on digest(info, 'sha1') = entity_id
                        )
                        where disk_id = %s and disk_blocks && any (%s::int8range[])
                """,